Added the MessageListener API and implementation in the runtime
Extended the test for MessageListeners