FxA web flow (bug 1033694)

we decided it had go in main.js because it needs to stop all view rendering. It basically needs to close the window immediately.