GRAILS-11361 JSON Converter should ignore encoding state (like usage of raw)
- JSONCodec is used in JSONObject for escaping object inputs
- this change adds a feature to the EncodedAppender to force encoding of all input
Merge branch '2.3.x' into 2.4.x

Conflicts:
	grails-encoder/src/main/groovy/org/codehaus/groovy/grails/web/util/StreamCharBuffer.java
	grails-test-suite-web/src/test/groovy/org/codehaus/groovy/grails/web/codecs/CodecSpec.groovy