Fixes for Django 1.5+

- Fix imports in urls.py
- Replace {% admin_media_prefix %} with {% static %}
- Update {% url %} in templates