Created the on_message_parse hook.

  This allows a message to be rewritten purely via Lua, and will
 be used for GPG-support, etc.

  This updates #87.