Add a get_resource method to return a resource instance from a uri, currently
there is no way for users to get rsd resource from a uri. This is helpful
for cases where users get the path from links and want to access the resource
using given path.
Change-Id: I51d4ead04d829631d37cb3bad8dd8bcf1194db3f