Fix EOL-printing in Printers test suite

Fixes for [problem](https://gist.github.com/adriaanm/8449000) with EOL processing in Printers test suite (scala-nightly-windows tests failed).
1. EOL printing in scala.reflect.internal.Printers is modified.
2. EOL processing for tests (PrintersTest) is added.