Cleanups and Tox configuration.

This cleans up some niggles, and allows running the test suite with `tox` (after adjusting the `NEO` setting in `test_settings.py`, as usual).