Added ability to register lifecycle listeners on the server and made
them part of the server start/stop lifecycle. Updated Mongo client to
register with the server and start/stop properly.
SITEWHERE-110