Configurable getfattr cmd, take 2

This is a rebase of https://github.com/gluster/hadoop-glusterfs/pull/8 on top of current master (6d4b3877)

The code does the same thing, but the patches apply without merge conflicts and with the new code formatting guidelines, as applied by eclipse -nosplash -application org.eclipse.jdt.core.JavaCodeFormatter -verbose -config resources/eclipse-formatting-settings.xml