ignore .idea folder of pycharm
Pep8 compliance and code updated to work with QGIS > 1.8