Fix urls.py import to be Django 1.6 compatible.
Use storage get_available_name method.
Clean imports.
Fix PEP8 violations.