Add timer to allow waiting for device to be online for bugreport capture.

An empty bugreport is returned if the device is rebooted during the test
and the bug collector doesn't wait for device to be online.
This will be useful to capture device reboot or run-time reboot during the test.

Change-Id: Ib79e443c98e0cffc2970b254778ee7c599897091
5 files changed