Use URIs to identify SRs. Return an SR handle from SR.attach

Signed-off-by: David Scott <dave.scott@citrix.com>