Update to 0.4.1 and add JSON-Patch-duplex path

Update source from 0.4.0 to 0.4.1.
Add JSON-Patch-duplex path to support bidirectional patching.