Added 'messageType' property to Message prototype.

It's now possible to get the message's name in a message handler by
accessing the message's 'messageType' property.