Scalariform reformat of JUnitXmlTestsListener.scala
Set Java memory options for server applications

The defaults here are copied from Activator which
in turn are probably copied from somewhere else.
They are of course basically arbitrary, but the
JVM's defaults if we don't set memory options
are insufficient to run most apps.

If the user sets any memory options in the configuration,
we completely leave them alone and don't set any of
our own. So it's always possible to override.
Ignore "java -version" IOException when launching servers

process.start and reading from the stderr stream could in
theory throw IOException, we want to return None then
rather than crashing.
Server launcher: Print errors running java -version to stderr

We forward errors from the spawned server to stderr, so we are
already using stderr and this should save someone some pain
vs. just swallowing the fail.
Use java Pattern directly in launcher instead of Scala API

This keeps the launch jar smaller
Merge pull request #1534 from havocp/wip/havocp-server-mem

Set JVM memory options for server applications