Added selfDestruct() function and trigger to auto-delete expired messages.
(cherry picked from commit 85337900677084636986b65cba86f3daad9ce6b6)