Catching ImportError for django < 1.7
Setting 'upload_to' properly for django < 1.7
Updating runtest.py to be django < 1.7 compatible