Make it possible to use Django Configurations

django-configurations is a third party library for class based configuration. It makes this possible through the use of an import hook that must be installed prior to importing Django. This PR makes a small change that tests to see if django-configurations is installed, and if it is if the environment variable for it has been set. If both those conditions are true then it will install the import hook.