Some refinements on the hadoop input format

This is a combination of commits:
* make hadoop-compat compatible to hadoop yarn and remove org.apache.hadoop code
* Extended usercode wrapper, fixed IF serialization [ci skip]
* introduce pluggable type converter
* make the converter interface more generic; (hopefully) improved fetching logic [ci skip]