REST: add patch support to cowboy_rest

adds patch support to cowboy_rest by using content_types_accepted to pick the content_type handler.

also adds a rest_patch test case