Update tests

Add tox.ini, test on travis against 3.3 and 3.4, change deprecated
aliases.