gitignore: remove *.sw* and *.db.
gitignore: ignore files related to python packaging
setup: do not declare support to untested Python versions
travis: run tests on Python 2.6