Add ctx object to registry interface

This is the next step in enabling that a ctx is passed down from the RESTStorage interface to the Registry code paths.

Nothing is done with the context yet.