Fixed Django 1.4 --no-initial-data incompatibility

Also added django version to the environment
Fixed private_settings creation bug.

Storing the django version in _setup_paths is problematic because
it calls manage.py, which requires private_settings to exist. So
I'm just getting the django version when I need it.
Stopped multiple calls to syncdb for Django < 1.5
Removed unused import
Added syncdb for Django < 1.5 prior to migrate
Make code to avoid bad syncdb call more readable