Feature/resource set

@barnabyalter I need to make the rake tasks work, but figured I'd open the PR to get some feedback/start a conversation sooner than later.

@NYULibraries/hydra please have a look and provide feedback as you see fit.
It was a bug that wasn't tested. Thanks to you and Coveralls, it is now.