Jhbate/createmessage

@nicolashery - I still have to emit an event once the message has been created but if you could look at the work so far that would be good.

Cheers
Jamie