Adding -server and JAVA_OPTS to the launcher

When dealing with large datasets and running stats, you might run out of heap space. Setting JAVA_OPTS is a common way out. Also it is recommended to run long running processes with the -server flag.