Changes to the DefaultIdentityManager to use the IDMMessages for exceptions. Added IDMLogger for logging.