make ResourceCollection behave more like a Hash

unneeded complexity is unneeded
Merge pull request #2078 from Daxter/refactor/resource_collection

Refactor ResourceCollection
first attempt