Mdis_Pxe_Config_Target.sh: Add improvements
Move the testing of ssh accesibility to a function.
Besides, add new function to check that local and remote dates are the same or with a difference lesser than 60 seconds, just to ensure the the certificates from gitlab will be valid.