Adapted to using django.contrib.staticfiles instead of the
MEDIA_ROOT and management commands to gather the staticfiles.
This removes backwards compatibility with earlier versions of django