Improve JavascriptEncoder escaping
- escape Unicode Line & Paragraph separator characters in JavaScriptEncoder
-- http://bclary.com/2004/11/07/#a-7.8.4
- escape vertical tabs and backspaces
- strip out all other control characters
- escape backticks
Add unicode line & paragraph separator character escaping to XMLEncoder
- refactoring: extract static xmlEscapeCharacter method
Fix for GRAILS-10823: Regression in Grails 2.3.3 - JSONWriter encodes slashes.
- Implement separate JSONCodec for escaping strings in JSON output, used by Grails JSONObject/JSONWriter