registry: cleanup and rename Registry -> Session

Not a huge change, just a little break-up of code, and renaming `registry.Registry` to `registry.Session`, since that is what that struct is about.

Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)