Tests

The first commit adds a couple of utility functions to help with testing the admin interface
The second commit creates some models in wagtail.tests
The third commit creates some tests for wagtailadmin

Let me know what you think