QPID-4644 fun with metaprogramming
Switched definitions of Broker methods (connections, connection(oid), etc.) to
new has_many and has_one class methods.

Added additional tests for all the has_many/has_one references.