Enable tox

Make it easier to test with or without celery.
Also, switch to using @shared_task for celery 3.1 support.
Add travis.yml