feat(web-server): run karma using multiple emulation modes

Closes https://github.com/karma-runner/karma/issues/936, https://github.com/karma-runner/karma/issues/631

*This is related to another pull request that I'm going to send to https://github.com/karma-runner/karma right after this one.*