set java.awt.headless to prevent Mac dock icons

Java 1.6 on Mac will add an icon to the dock and app switcher for each
JVM running. When the VM starts, this "app" comes to the foreground and
steals focus.

Setting "-Djava.awt.headless=true" runs the VM in headless mode, so it
does not connect to the windowing server, and thus does not create these
artifacts.
Merge pull request #148 from branch 'bwf-headless'