fix a lot of wrong import; some PEP8 modification; check the translation system, to be fixed

Now the plugin is loaded by QGIS but the GetCapabilities request goes in timout