Fixes to enable latest glusterfs plugin w/tachyon.

This patch includes changes for the latest glusterfs-hadoop plugin support and some fixes around URI handling/parsing.
Indentation is not right. Could you check the code style according this http://tachyon-project.org/master/Startup-Tasks-for-New-Contributors.html ?