Feature/883 hierarchical custom settings 2

# Warning 
# Info 
# Issues
Fixes #883.
should this be an upsert, or does the SettingsFacade always insert a settings record if none is found?