Add testing.

I've been looking for an excuse to learn Django testing, so here's a first pass at it. For now this just tests that the public static views work as expected. You can run it with "python manage.py test perma".