Ensure JSON is sent with correct Content-Type
protection from undefined collection
fix getCollectionName() to properly fetch the name out of uri, regardless of collection name path element count
Tests a bit more flexible for setting up a resource
Merge branch 'master' of https://github.com/kkesha/wheelhouse-resource into kkesha
Add log statement
upgrade to lodash 2