[NEXUS-5957] Extract hosted related functionality from Yum as YumHosted

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>