Collection method for checking if collection contains resource.
Fix test.
Merge pull request #3 from nicksergeant/master

"contains()" method for checking if collection contains a resource.