add support for patch method

I wanted to send update request to rails backend but it sends whole object representation (with attributes not in attrs_accessible) which is not good. This commit implements original Backbone.sync `type: 'patch'` option.