Set -Djava.awt.headless=true for ant test

Makes running tests less annoying with OS X/Java7