Create a install utility class to be used by the host

This will help reduce duplicate logics used from the host side of the
test across cts, gts and internal tests.

In initial CL, only moved isApexUpdateSupported logic. More logics will
be moved into this utility in follow up cls.

Bug: 160296318
Test: atest StagedInstallTest
Test: atest RollbackManagerHostTest
Change-Id: Ie206c74507af9d9c5baa8e0fe2b1441bbcf530f3
Merged-In: Ie206c74507af9d9c5baa8e0fe2b1441bbcf530f3
7 files changed