add bootup time measurement with infra for host test

- allow time-out for host: the same TimeoutReq annotation
- result thrown via the same exception mechanism
- some common codes shared between device and host moved to lib/commonutil
- changed exception signature of some common code

Change-Id: I02b0ed08cf259b6519d776a0539b8303e1e7baf2
23 files changed