Bug 929468 - Python fix the way tests use mock_contact.py
Merge pull request #13008 from zacc/bug_929468

Bug 929468 - Python fix the way tests use mock_contact.py
Bug 913385 - Add Hardware tests mode r=evelyn

    This patch organize old tests into API and UI parts, and add new Hardware tests.
    Also, there are some minor fixes on existing tests.
    HW tests mode provide the following tests:

    Audio loop
    Battery
    Bluetooth
    Camera
    Headphone
    LCD
    Physical keys
    Ringer
    SDCard
    Sensors
    Touch screen
    Vibrator