Improved Registry method binding.

Registry's methods now bind to a pointer to a registry, rather than the
actual registry.

Also added a method stub for Registry.Serve so that a Registry can be
used to serve SCAMP requests.
Improved documentation.

Ensured that all major functions, methods, and types have at least
basic godoc documentation.