Added home direction logic

The direction which an axis homes in is either "-1" for min or "1" for
max

The Mendel90 homes max on all axis, hence:
#define HOME_DIRECTION {1,1,1,1}

for the original logic use:
#define HOME_DIRECTION {-1,-1,-1,-1}