Bug 956816 - Rename generateKeypair to generateKeyPair.
Bug 956816 - More JSON, less raw strings when serializing keys.
Bug 956816 - Implement de-serializing BrowserIDKeyPairs.
Bug 956816 - Implement (de)serializing Android BrowserIDKeyPair instances. r=rnewman