Fix url imports for Django 1.6+

Attempt to import url/patterns from the new django.conf.urls location before falling on the old django.conf.urls.defaults location.