Adds support for headless

Requires xvfb installed on Linux to work. Just set headless: true in config.yml file.