Add that Menu.setApplication only works after 'ready' event.

I got caught on this while trying to add a menu in my application in OSX.
Merge pull request #923 from ffdd/patch-1

Add that Menu.setApplication only works after 'ready' event.