overhaul testing infrastructure

support modern djangos
use travis and tox and test on python3
move tests into a separate top-level directory