extend Relation and Resource for PATCH operation

fix test
implement PATCH
Merge pull request #10 from easybiblabs/topics/patch-request

Implement PATCH request