CuBox-i and HB board auto detect code

CuBox-i code now autodetect both CuBox-i and HB and accordingly sets machine ID etc...

Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>