Remove workaround for Django 0.96 and earlier
Call django.setup() if the app registry isn't initialized yet

This is needed for the iPython notebook extension when running Django
1.7.
Merge pull request #520 from dekkers/django17-support-ipython-notebook

Support Django 1.7 in the iPython notebook extension