mozilla-b2g/gaia — pull request #15700 by gentlefolk (2014-01-25 20:10:25+00:00)
Title: Bug 948415 - Make mock_contact.py pythonic, make insert_contact convert it to API-friendly format

As described on the bugzilla page, this accomplishes the following:
1. Revert mock_contact.py back to Python [1]
2. Add to mock_contact.py a method to output to mozContact API friendly format [2]
3. In GaiaData.insert_contact , convert the contact to mozContact API friendly format before passing it into the javascript atom
4. Update all functional and endurance tests to use the revised mock_contact.py