Add support for command key in Mac OS X platform

Other change:
- Fixed ui::Message::onlyCtrl/Shift/AltPressed() member functions