Localhost build support, abstract buildhost/appliance access

Signed-off-by: Yury Tsarev <ytsarev@suse.com>