core: split out hardware check as it is shared with ovirt-engine-setup

Change-Id: I0e9aa168b6f30e2bc2d4dbc3439562e9402dca59
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>