added support for JSON parsing with HTTP PATCH

To match modern rack apps new standard of doing updates with PATCH instead of POST, this would be a welcome addition to this simple json middleware.