Allow user to define function for creating anonymous user. Fixes #179
Use FileField instead of ImageField at tests

new system check (1.7) would raise error if pillow is not installed
Use unit test.TestCase instead of SimpleTestCase
Use import_module from Django