Django 1.6 compatibility fixes

`django.conf.urls.defaults` has been deprecated and fully removed in Django 1.6 release series.

Reference:

```django.conf.urls.defaults will be removed. The functions include(), patterns() and url() plus handler404, handler500, are now available through django.conf.urls .```

https://docs.djangoproject.com/en/dev/internals/deprecation/