Settings refactoring

This PR was made to avoid duplications between our settings.py and the upstream GeoNode settings.py. All our custom settings are moved to local_settings.py

Also the ```SECRET_KEY``` is now generated randomly and it isn't hardcoded anymore.

See also: https://bugs.launchpad.net/oq-platform/+bug/1319308