implement PATCH in Curl; similar to PUT

file permissions changed; PATCH implemented in Curl
Merge pull request #954 from fellars/dev

implement PATCH in Curl; similar to PUT