RavenDB-1747 and RavenDB-1748 Context of ScriptedJsonPatcher has to take...

... into account put document with null key or key that ends with / (which has special meaning for us)