Use headless env. for testing

Afaict, the unit tests that currently fail seem to fail due to the missing graphics environment on the Jenkins server. To my surprise, they seem to work fine in a headless environment. 

This small fix changes the env. It was tested locally in eclipse and on the Jenkins server:

http://jenkins.terasology.org/job/TerasologyTemp/2/

This fixes 18 unit tests.