Redmine#4096: filter(), grep(), every(), some(), none() support for data containers

Acceptance tests updated and improved to exercise all the aspects of the new support.

`JsonPrimitiveAsString` had to be factored out to avoid code duplication.

Documentation coming upon merge.