Rework autotest infrastructure: move platform-dependent code to /devel subproject, allow dynamic handlers for gcode commands