[api] [refactor] Add ability to load dependencies from resource.dependencies scope
[misc] Added more code comments
[fix] Filtering / resource.find seems to not be working in couchdb.