Add templates for .travis.yaml and tox.ini
Switch tests to use pytest (parametriezed too).
Fix bunch or issues with test running.
Remove `after_success` - not needed anymore.
Update .gitignore.