Simplifies testing of an ant task with a prepared build file automating the task
execution and providing content of the log, standard output and error and an eventual
exception.
Returns a new string copy with all possible forms of an end-of-line delimiter made
of carriage-return and/or line-feed (\r, \n, \r\n) replaced by a single line-feed
character (\n).