Revert "Adds -Djava.awt.headless=true to surefire commandline"

This reverts commit 445bc34784d8b8c69f4d6453aa3c6967ef13638f.
Sets java.awt.headless to true in shared surefire configuration