Write module manager messages to the log instead of server console.
Update module manager test plugin to register and unregister a module.