base: Moves isAvailableApp and isAppInstalled to PackageUtils

Change-Id: I78494839fb2e521666fae82d2168131fa2bbd093