Bug 962644 - Part 0: extract firefoxAccountsExist and friends.
Bug 962644 - Extract firefoxAccountsExist and friends. r=nalexander