Improve handling of output produced by pom-tests

Rather than handling the output line-by-line, the process's output
is now redirected straight to System.out and System.err. The primary
advantage of this is that it preserves output that updates the
contents of the current line, rather than each update being on a
separate line.