Support generic Hadoop Compatible Filesystem

This is a shortened version of PR #358, with focus on filesystem only.
+1 to have `gluster/src/resources` or `ceph/src/resources` to the classpath.