JsonMergePatch: add and start to test a clearNulls method

As per the draft, null values should be cleared recursively in a submitted
document.

What isn't clear is whether this also concerns null array elements; right now,
they are cleared, maybe they shouldn't.