Support retrieving resources by their uri.
Merge pull request #23 from ironcamel/uris-or-ids

Support retrieving resources by their uri.