AppEventService: deprecate getCommands()

It is cleaner to tag each individual "app" command with a special key.
Then the MacOSXPlatform can just remove all such tagged commands,
without needing to mess around with the AppEventService at all.