Close modal when ESC key pressed

Both landing page and settings page modals can be closed via the ESC key.
Merge pull request #810 from Automattic/add/esc-key-handler

Close modal when ESC key pressed