Tidy things up so that we can use this django app as a dependency instead of embedding it.

Also add tests, migrations, and generalised tagging actions for the admin.