CTS: Use ITestDevice instance to pull device info and test metrics.

Additionally, move common functions to Util class for reuse.

Bug:29586512
Change-Id: I365988104d6ad7342f9ee4172afb5881127f5054
6 files changed