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