Improve XML CData formatting

Fix 29277: Strings XML formatter: unwanted whitespaces
           inserted when using CDATA section

http://code.google.com/p/android/issues/detail?id=29277

This changes the XML formatter to keep CDATA sections
not containing newlines to keep the CDATA on the same
line without indentation or newlines, and multi-line
CDATA sections to be separated on their own line and
flushed left.

Change-Id: I8576cff87e2880b0264479cc24c54cecc7841340
2 files changed