modbus: fix input register handling.
modbus: made it possible to specify control types for Modbus registers.
modbus: made poll interval & debug mode configurable.
modbus: updated config for MSU34-TLP.
modbus: scaling support; fix channel type handling.