Fixed AppRegistryNotReady exception on runserver on Django 1.7rc2.

Fixes issue #77.