allow functional tests to run headless
support for headless functional testing
Merge branch 'master' of github.com:middlet/safety