HDFS-7011. Implement basic utilities for libhdfs3 (cmccabe)
Merge remote-tracking branch 'remotes/origin/HADOOP-10388' into HADOOP-10388