For new users reading this post, you can find a way of solving errors about importing qgis modules on Windows 7 at Importing qgis.core when writing standalone PyQGIS scriptImporting qgis.core when writing standalone PyQGIS script.
replaced http://gis.stackexchange.com/ with https://gis.stackexchange.com/