Add support for running tests from test_defs.xml on local disk or device.

Refactor TestDevice reliability to have common retry logic.
Do some minor compile warning cleanup.

Change-Id: I593cfd4a47497d3bfdf52486a1e945eec7e569b6
21 files changed