Fix pep8 warnings and do some cleanup
Add Aptana/PyDev projects to .gitignore