Add Apache 1.x HDFS support

Updating the HDFS module to add support for the Apache 1.x version of Hadoop and fixed a bunch of related tests that were failing for me.