Minor cleanups on views, templates and url patterns
Improve Django 1.5 support: Djblets imports cleanups

Avoid using deprecated code to allow using latest Django releases
Cleanup: unified admin URLs
Unified names for named URL patterns
Cleanup: removed dead code

This code path was never reached.