Moved end stop module/added parameters to config

Moved the module for the endstop holder to separate file, added
parameters to configuration files to accomodate different types of end
stop switches.