Add tox.ini
Add tox-specific paths to .gitignore
Add test for commit to empty repo case