Jhbate/edit messages

@kentquirk these changes are based on pushing edits through to clamshell and then blip I have added the created and modified timestamps to messages.

Also as part of the change I have created a validate and formatting process on any incoming messages to save or edit and also on messages that are returned to the user.