Fix #739 - pass request to obj_get in GenericResource.get_via_uri

Added tests and a small change to GenericResource.