Fix deprecation warnings.

* Replace 'django.conf.urls.defaults' with 'django.conf.uls'.
Merge pull request #746 from akatsoulas/deprecation-warnings

Fix deprecation warnings.