Support for method PATCH

GitHub v3 api uses a PATCH method to update objects. This rather small patch adds support for that I think.