fix agent stall when also using web argument

this fixes the agent stalling when also running embedded kibana, ex.: bin/logstash -e "" web

also added regression tests, had to tweak the Runner bootstrap code to avoid launching Runner#main when loading from specs.