Added chrome.identity.getRedirectURL.

Also changed the web auth flow browser close condition to use this.
Also updated identity tests to use the correct client id and the new function.