Add purge-message patch.
This is based on the patch by Cedric Duval.
Modifications are:
* Use the exising M_PURGE flag from the trash folder patch, rather
than adding a separate flag.
* Undelete operations are already handled by the trash folder patch.