Rename Writer protocol to StringWriter
Add flush-writer method
Extend StringWriter onto StringBuilder and java.io.Writer
Make the endline symbol private