Fix .gitignore file from conflict markers

.gitignore had some conflict markers which got committed.
Remove those.
Add support for python3

Ran 2to3 tool which fixed the imports to relative imports.
Now runs fine on both python2 and python3.
Add python3 to travis test cases

Add python 3.2 and 3.3 to .travis.yml file.