Eclipse support, formatting and imports

Here is a summary of the changes:
* I added support for using eclipse with the [pydev](http://pydev.org/manual_101_install.html) plugin. 
* Using eclipse auto-format tool I made the style very consistent thought the code
* I cleaned the imports according to http://legacy.python.org/dev/peps/pep-0008/#imports