Add ability to run Chrome tests headless.
Added optional support for headless Chrome via HEADLESS environment variable. Fixed various minor bugs, including timing problems that might prevent collecting code coverage data. Updates all dependencies.