Local settings don't need to be set after the chown of all files under t...

...he webapp, but they do need to be set before the DB syncs, and they also need to support the new DATABASES syntax that is used by Django 1.4 and up