MAHOUT-1615: Copy HDFS common helpers into h2o from spark

Signed-off-by: Anand Avati <avati@redhat.com>
MAHOUT-1615: Fix H2O bindings to read proper ClassTag from HDFS

Signed-off-by: Anand Avati <avati@redhat.com>