Allow setting the default preferences through the configuration service and Metatype for configuration type safety

This is my prototype, not tested yet and with no LPS so far