Add .gitignore.
Fix Python3 compatibility

as per
https://bitbucket.org/agr/ropemode/pull-request/9/python-26-27-and-33-support-using-future/diff

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>