issues/417: Fix command key modifier detection

Command key can now be optionally used on the mac osx.
Merge pull request #422 from monkeyiq/2013march/issues/417

issues/417: Fix command key modifier detection