Bugfix when creating changelog for modifications in arrays (#2454)
Renamed string constant for replace-patch and added patch for add and remove.
Fixed behaviour when items were added and removed in the same request for json arrays.
Added unittest for testing adding and removing items in the same request and generating patches (#2454)
Fixed typo.
Additional fixes for keeping track of changes in arrays for puppets.
Merge branch 'issue/2454' into develop