[UIMA-3969] add JSON output style.  Make a generic version of ListUtils. Refactor view member writing for commonality. Add special casing for outputting Floats "NaN" etc, as Json Strings.

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617560 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] fixup whitespace (no real change except some formatting)

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617561 13f79535-47bb-0310-9956-ffa450edef68