dynamically disable registration

fixes #547
import from django.conf instead

you should always import from django.conf rather than importing
from the local package. That way, things like the
@override_settings decorator in Django 1.4 will work.
Merge pull request #679 from opdemand/disable-registration

feat(controller): dynamically disable user registration