Correct isHomed function to check X,Y,Z home

Correct isHomed function to check X,Y,Z home, as today even if only is
homed - function return true, so add a flag for the X home, Y home and Z
home and check all 3 to set is homed or not, each home can also be
checked separatly