Fix Solr in tests

Escape new lines in echo so jetty params are added correctly to the
config file