add http patch method
Merge pull request #22 from mnin/master

add http patch method
Further support for json with model name as root.
Singularize json root in payload.