Utils for working with message managers.
Add license and metadata.
Add tests.
Merge pull request #1720 from Gozala/context-menu-2-message-manager@1070952

Bug 1070952 - Utils for working with message managers. r=@erikvold