[persistence] [fix] Ensure that correct type is used
[persistence] [fix] Ensure schema settings are passed into fs adapter
[config] [refactor] Use a data property to store configuration data. Attach configuration data to specific resource scope if found. Added basic test coverage.
[minor] JSHINT