Add tox and travis config file, update .gitnore.