Change functionality of cnMessage::create().

This function originally was just to display a message style to match
the admin notices.
Now it'll register the message using the admin_notices action hook with
lamda functions.