feat(test): Add more functional tests sign up/reset password flows.

Add functional tests for OAuth, Sync and WebChannel for each of:

* sign up, verify same browser
* sign up, verify different browser, as viewed from both browsers
* reset password, verify same browser
* reset password, verify different browser, as viewed from both browsers

To fully test the Sync flow, responses to FirefoxAccountsCommand events are synthesized.

issue #1755
Move this closer to where window is used.