Support generic Hadoop Compatible Filesystem

This is a shortened version of PR #358, with focus on filesystem only.
these parts should be the same as the tachyon-env.sh.template ; either change them all, or do not change.

Also, these are not related to this PR. May address these in another PR.