port over some REST improvements and django setting changes from the django_rest_backbone project