Improve Special:MassMessage state checking

Use getVal() instead of getText() to check for form state; replace ==
with ===.

Change-Id: Ief4a334a1eef1fce382ebdf50011e04e4d7db702