convert .hgignore to .gitignore
have tox test against python3.4 instead of 3.3

I don't have 3.3 installed and it's probably the same as 3.4, right?
Fix tests and code to run under python 3.4