Make deleteMsg available as a Shell function
Created by: subhacom
For users' convenience we need a high-level deleteMsg function available in Shell that can take two objects and field names and delete all messages between them (undoing the addMsg).
Reported by: subhacom