`PATCH` method support
'type' field instead of '$ref'
Merge pull request #4 from yashkin/patch-2

 `PATCH` method support