Major refactor to support /edit/ shib-protected interface.
Refactored some duplicate code to better leverage django.
Added namespaces for the read-only and edit views.