add agent structure

Shipping is now dissociated.  Credentials are stored in the agent
structure, whereas the catalog only stores the DEFAULT client and
hostname.  The agent structure is emplaced on every module, in the
loaded "Agent" module.