Implement a pure c client based on webhdfs

Details

Description

Currently, the implementation of libhdfs is based on JNI. The overhead of JVM seems a little big, and libhdfs can also not be used in the environment without hdfs.
It seems a good idea to implement a pure c client by wrapping webhdfs. It also can be used to access different version of hdfs.