[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
[config] [peristence] [jugglingdb] merge with bigcompany master
[couchdb] made couchdb persistence resource use jugglingdb and work with new persist structure