refactoring settings.py

This PR prepare omeroweb properties to be auto generated.

To test that PR please double check if all keywords are in place.
For example:
```
set(OLD_CUSTOM_SETTINGS_MAPPINGS.keys()) - set(CUSTOM_SETTINGS_MAPPINGS.keys()) - set(INTERNAL_SETTINGS_MAPPIN.keys()) = set([])
```