[tools] Add arbitrary command execution to bisect-builds
[tools] Add arbitrary command execution to bisect-builds

This should allow to bisect chrome via telemetry.
It adds an optional -c command that specifies how to
run chrome (%p refers to the executable, %a refers
to the arguments, and %s refers to all arguments as 
a single parameter).

As an example, I used the following to bisect with
telemetry: 

./tools/bisect-builds.py -a linux64 -g 210846 -c "/path/to/src/tools/perf/run_measurement --allow-live-sites --browser-executable=%p --browser=exact rasterize_and_record_benchmark /path/to/src/tools/perf/page_sets/top_25.json"

Note that any path specified has to be absolute,
since bisect builds actually switches directories.

Review URL: https://chromiumcodereview.appspot.com/18620008

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@212668 0039d316-1c4b-4281-b951-d872f2087c98

markYoungH/chromium.src,patrickm/chromium.src,ondra-novak/chromium.src,hgl888/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,dednal/chromium.src,Jonekee/chromium.src,axinging/chromium-crosswalk,krieger-od/nwjs_chromium.src,ChromiumWebApps/chromium,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,M4sse/chromium.src,mohamed--abdel-maksoud/chromium.src,mogoweb/chromium-crosswalk,Just-D/chromium-1,ltilve/chromium,hgl888/chromium-crosswalk,Fireblend/chromium-crosswalk,anirudhSK/chromium,krieger-od/nwjs_chromium.src,TheTypoMaster/chromium-crosswalk,hgl888/chromium-crosswalk,Jonekee/chromium.src,ltilve/chromium,hgl888/chromium-crosswalk,dednal/chromium.src,dushu1203/chromium.src,krieger-od/nwjs_chromium.src,mogoweb/chromium-crosswalk,Chilledheart/chromium,dednal/chromium.src,jaruba/chromium.src,crosswalk-project/chromium-crosswalk-efl,fujunwei/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,dednal/chromium.src,jaruba/chromium.src,bright-sparks/chromium-spacewalk,anirudhSK/chromium,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,mogoweb/chromium-crosswalk,markYoungH/chromium.src,mohamed--abdel-maksoud/chromium.src,fujunwei/chromium-crosswalk,chuan9/chromium-crosswalk,markYoungH/chromium.src,mogoweb/chromium-crosswalk,krieger-od/nwjs_chromium.src,M4sse/chromium.src,mogoweb/chromium-crosswalk,anirudhSK/chromium,Chilledheart/chromium,dushu1203/chromium.src,patrickm/chromium.src,chuan9/chromium-crosswalk,mogoweb/chromium-crosswalk,Just-D/chromium-1,dushu1203/chromium.src,axinging/chromium-crosswalk,bright-sparks/chromium-spacewalk,chuan9/chromium-crosswalk,M4sse/chromium.src,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,markYoungH/chromium.src,Fireblend/chromium-crosswalk,patrickm/chromium.src,mogoweb/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,krieger-od/nwjs_chromium.src,hgl888/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,Jonekee/chromium.src,ondra-novak/chromium.src,mogoweb/chromium-crosswalk,ChromiumWebApps/chromium,axinging/chromium-crosswalk,bright-sparks/chromium-spacewalk,markYoungH/chromium.src,M4sse/chromium.src,hgl888/chromium-crosswalk-efl,axinging/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,chuan9/chromium-crosswalk,Jonekee/chromium.src,mogoweb/chromium-crosswalk,littlstar/chromium.src,mogoweb/chromium-crosswalk,dednal/chromium.src,axinging/chromium-crosswalk,bright-sparks/chromium-spacewalk,Chilledheart/chromium,Just-D/chromium-1,krieger-od/nwjs_chromium.src,ltilve/chromium,Jonekee/chromium.src,M4sse/chromium.src,bright-sparks/chromium-spacewalk,ChromiumWebApps/chromium,anirudhSK/chromium,TheTypoMaster/chromium-crosswalk,krieger-od/nwjs_chromium.src,ChromiumWebApps/chromium,axinging/chromium-crosswalk,patrickm/chromium.src,Just-D/chromium-1,patrickm/chromium.src,axinging/chromium-crosswalk,dednal/chromium.src,fujunwei/chromium-crosswalk,ChromiumWebApps/chromium,dushu1203/chromium.src,axinging/chromium-crosswalk,hgl888/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,Pluto-tv/chromium-crosswalk,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk,ondra-novak/chromium.src,Pluto-tv/chromium-crosswalk,dushu1203/chromium.src,fujunwei/chromium-crosswalk,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk,Fireblend/chromium-crosswalk,bright-sparks/chromium-spacewalk,crosswalk-project/chromium-crosswalk-efl,anirudhSK/chromium,markYoungH/chromium.src,anirudhSK/chromium,patrickm/chromium.src,ltilve/chromium,PeterWangIntel/chromium-crosswalk,krieger-od/nwjs_chromium.src,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk,anirudhSK/chromium,Pluto-tv/chromium-crosswalk,anirudhSK/chromium,Jonekee/chromium.src,Pluto-tv/chromium-crosswalk,M4sse/chromium.src,Just-D/chromium-1,Pluto-tv/chromium-crosswalk,Just-D/chromium-1,anirudhSK/chromium,ChromiumWebApps/chromium,crosswalk-project/chromium-crosswalk-efl,markYoungH/chromium.src,M4sse/chromium.src,ChromiumWebApps/chromium,Jonekee/chromium.src,patrickm/chromium.src,Pluto-tv/chromium-crosswalk,fujunwei/chromium-crosswalk,M4sse/chromium.src,Fireblend/chromium-crosswalk,Chilledheart/chromium,dushu1203/chromium.src,Just-D/chromium-1,fujunwei/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,jaruba/chromium.src,littlstar/chromium.src,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,fujunwei/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk,ChromiumWebApps/chromium,jaruba/chromium.src,Jonekee/chromium.src,littlstar/chromium.src,ltilve/chromium,krieger-od/nwjs_chromium.src,Just-D/chromium-1,bright-sparks/chromium-spacewalk,anirudhSK/chromium,littlstar/chromium.src,M4sse/chromium.src,jaruba/chromium.src,Fireblend/chromium-crosswalk,axinging/chromium-crosswalk,jaruba/chromium.src,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,Chilledheart/chromium,markYoungH/chromium.src,ltilve/chromium,crosswalk-project/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,Fireblend/chromium-crosswalk,ltilve/chromium,PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,dednal/chromium.src,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,littlstar/chromium.src,dushu1203/chromium.src,ondra-novak/chromium.src,hgl888/chromium-crosswalk-efl,littlstar/chromium.src,chuan9/chromium-crosswalk,ondra-novak/chromium.src,patrickm/chromium.src,TheTypoMaster/chromium-crosswalk,bright-sparks/chromium-spacewalk,dednal/chromium.src,ondra-novak/chromium.src,bright-sparks/chromium-spacewalk,jaruba/chromium.src,hgl888/chromium-crosswalk,jaruba/chromium.src,PeterWangIntel/chromium-crosswalk,anirudhSK/chromium,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,ltilve/chromium,chuan9/chromium-crosswalk,ltilve/chromium,M4sse/chromium.src,anirudhSK/chromium,ondra-novak/chromium.src,TheTypoMaster/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,littlstar/chromium.src,mohamed--abdel-maksoud/chromium.src,chuan9/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Just-D/chromium-1,Chilledheart/chromium,dushu1203/chromium.src,PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,Chilledheart/chromium,dednal/chromium.src,dednal/chromium.src,PeterWangIntel/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,M4sse/chromium.src,markYoungH/chromium.src,jaruba/chromium.src,fujunwei/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,dushu1203/chromium.src,ondra-novak/chromium.src,patrickm/chromium.src,markYoungH/chromium.src,littlstar/chromium.src,crosswalk-project/chromium-crosswalk-efl,dushu1203/chromium.src,Chilledheart/chromium,jaruba/chromium.src,jaruba/chromium.src,dushu1203/chromium.src,PeterWangIntel/chromium-crosswalk,krieger-od/nwjs_chromium.src,ondra-novak/chromium.src,markYoungH/chromium.src,Fireblend/chromium-crosswalk,axinging/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Chilledheart/chromium,dednal/chromium.src,fujunwei/chromium-crosswalk