Fix 2 small bugs, conditionally install xvfb

PHANTOMJS and REQUIRED_RUBY environment variable tests were always true

Set HEADLESS to install xvfb, the X.org virtual frame buffer
Merge pull request #3 from dcorking/add-xvfb

Fix 2 small bugs, conditionally install xvfb