Adjustable Z axis endstop, plugin style

No need to replace the original z endstop with a new one, with a little plugin it is done.