Refactor api tests.

Added assert200, assert201, etc helpers for checking response status code.

Made sure the root testcases don't use setUp and tearDown, so you don't
need to call super() in childs.

Also change the tests to use an in-memory sqlite database, to speed up
test runs.
Add a landing page stats view.
Make sure documentation is built for entries and stats views.