add support for headless execution

This commit adds support for running tests on a headless (no display) machine in linux using the headless gem. The package `xvfb` must be installed on the machine for headless execution to work.

This setting can be enabled by adding `headless: true` to config.yml. By default, this setting is false.

Thanks @marekj for researching this functionality.