added a management command to snapshot the db and support for it in downloads.html
removed log.debug()s from views.media