Allow to resend a failed message

Add an option to the context menu of the message to resend it if it has
failed.

For issue #352