Used setdefault in default settings

By using setdefault instead of simple dict key assignment we make the settings from app.py overwritable in settings module (already put the appropriate settings on test instance).