Merge pull request #59 from tclose/connection_rule

Implementation of standard library connection rules (see issue #21)
added annotation decorators to all user layer and component classes
fixed up tangle of imports
fixing up unit-tests after introducing annotations
debugging decorator annotations
added resolve_reference decorators to ul object to/from_xml methods