Add travis config to fix failing tests

Fix for #3:

With this travis configuration a virtual display is used while building. This is needed by some JavaFX classes. 
This should fix the travis build errors.