Add curlWebHDFS to centralize curl operations

curlWebHDFS collects different types of curl requests and dispatch them
with appropriate settings from WebHDFS configuration