set django version 1.7 on travis
fix import json on import scope