Improve server class.

- Add array-like access to get/set/check/unset procedures.
- Add new adopt() method which takes a class or object and adds all
  the public methods of the object/class to the server. The methods
  can optionally be registered under a prefix (like 'foo' or 'foo.')
  to get namespace-like features.