Added a method to AppDelegate programmatically.

This removes an annoying manual step from the installation of the chrome.identity plugin.