Refactor and added webhdfs home dir fixes #1

refactor curlwebhdfs into curl_web_hdfs. Added get_webhdfs_home function
to append home directory to relative path.