Stop using mw.msg

One instance of gM was still around, but also got rid of the mw.msg
shortcut in favour of mw.message calls.

Also cleaned up some other things - mostly calls to $.html that should
have been $.text all along.

Bug: 52896
Change-Id: Ifa2064519891f4cca2cc650c76e252de696f26df