Bug 850600 - Part 0: Refactor FirefoxAccounts.
Bug 850600 - Refactor FirefoxAccounts. r=rnewman