PIVOT-960:  Set the default for JSONSerializer to NOT allow macros.
Put code into BindTest to test with and without macro support.  The
result is that allowing macros makes it go 25x slower, even with no
macros defined or used.  So, make the default false, and then change
the test programs (JSONSerializer and BindTest) set the flag true
when needed (principally the "map.json" file has macros in it).

Also add an additional flavor of "ApplicationContext.applyStylesheet"
to set the flag for the embedded JSONSerializer.  Again, make the
default "false" to get the speedup, and maintain the previous
(that is, pre-Pivot-2.1) behavior.



git-svn-id: https://svn.apache.org/repos/asf/pivot/trunk@1828484 13f79535-47bb-0310-9956-ffa450edef68
5 files changed