Handle ExecutionExceptions more consistently
Handle ExecutionExceptions more consistently

Summary:
If an `ExecutionException` contains a checked exception, rethrow
it and handle it as if it was thrown directly. If it contains an
unchecked exception, rethrow it as a `RuntimeException` (as
opposed to just posting a console event).

Test Plan:
Add code that throws an unchecked exception into
`CachingBuildEngine`, check that the exception is propagated.

Reviewed By: Coneko

fbshipit-source-id: 53592ef

LegNeato/buck,shs96c/buck,clonetwin26/buck,zpao/buck,ilya-klyuchnikov/buck,marcinkwiatkowski/buck,JoelMarcey/buck,zpao/buck,shybovycha/buck,davido/buck,romanoid/buck,justinmuller/buck,brettwooldridge/buck,kageiit/buck,brettwooldridge/buck,nguyentruongtho/buck,shs96c/buck,vschs007/buck,clonetwin26/buck,marcinkwiatkowski/buck,JoelMarcey/buck,SeleniumHQ/buck,clonetwin26/buck,dsyang/buck,LegNeato/buck,robbertvanginkel/buck,davido/buck,illicitonion/buck,kageiit/buck,SeleniumHQ/buck,kageiit/buck,zpao/buck,SeleniumHQ/buck,dsyang/buck,marcinkwiatkowski/buck,marcinkwiatkowski/buck,robbertvanginkel/buck,shs96c/buck,shs96c/buck,ilya-klyuchnikov/buck,vschs007/buck,zhan-xiong/buck,dsyang/buck,brettwooldridge/buck,davido/buck,sdwilsh/buck,zpao/buck,shybovycha/buck,nguyentruongtho/buck,daedric/buck,darkforestzero/buck,clonetwin26/buck,clonetwin26/buck,zhan-xiong/buck,illicitonion/buck,ilya-klyuchnikov/buck,brettwooldridge/buck,zhan-xiong/buck,dsyang/buck,k21/buck,ilya-klyuchnikov/buck,darkforestzero/buck,Addepar/buck,daedric/buck,JoelMarcey/buck,vschs007/buck,davido/buck,sdwilsh/buck,SeleniumHQ/buck,grumpyjames/buck,ilya-klyuchnikov/buck,daedric/buck,sdwilsh/buck,romanoid/buck,sdwilsh/buck,shs96c/buck,facebook/buck,marcinkwiatkowski/buck,rmaz/buck,nguyentruongtho/buck,illicitonion/buck,brettwooldridge/buck,Addepar/buck,davido/buck,vschs007/buck,LegNeato/buck,vschs007/buck,ilya-klyuchnikov/buck,k21/buck,JoelMarcey/buck,shybovycha/buck,sdwilsh/buck,zhan-xiong/buck,darkforestzero/buck,shs96c/buck,brettwooldridge/buck,k21/buck,facebook/buck,romanoid/buck,zhan-xiong/buck,daedric/buck,dsyang/buck,grumpyjames/buck,LegNeato/buck,robbertvanginkel/buck,darkforestzero/buck,JoelMarcey/buck,darkforestzero/buck,facebook/buck,zpao/buck,Addepar/buck,JoelMarcey/buck,shs96c/buck,illicitonion/buck,LegNeato/buck,nguyentruongtho/buck,dsyang/buck,rmaz/buck,k21/buck,k21/buck,illicitonion/buck,marcinkwiatkowski/buck,zhan-xiong/buck,JoelMarcey/buck,daedric/buck,facebook/buck,marcinkwiatkowski/buck,shybovycha/buck,shs96c/buck,ilya-klyuchnikov/buck,clonetwin26/buck,justinmuller/buck,sdwilsh/buck,clonetwin26/buck,shybovycha/buck,ilya-klyuchnikov/buck,shybovycha/buck,JoelMarcey/buck,kageiit/buck,k21/buck,Addepar/buck,romanoid/buck,SeleniumHQ/buck,k21/buck,LegNeato/buck,rmaz/buck,daedric/buck,Addepar/buck,romanoid/buck,davido/buck,k21/buck,darkforestzero/buck,grumpyjames/buck,vschs007/buck,JoelMarcey/buck,marcinkwiatkowski/buck,k21/buck,daedric/buck,nguyentruongtho/buck,zpao/buck,facebook/buck,ilya-klyuchnikov/buck,zpao/buck,sdwilsh/buck,zhan-xiong/buck,dsyang/buck,grumpyjames/buck,nguyentruongtho/buck,illicitonion/buck,davido/buck,grumpyjames/buck,SeleniumHQ/buck,nguyentruongtho/buck,Addepar/buck,clonetwin26/buck,justinmuller/buck,illicitonion/buck,shs96c/buck,vschs007/buck,shybovycha/buck,justinmuller/buck,SeleniumHQ/buck,clonetwin26/buck,Addepar/buck,Addepar/buck,dsyang/buck,illicitonion/buck,kageiit/buck,daedric/buck,shs96c/buck,rmaz/buck,grumpyjames/buck,shybovycha/buck,zhan-xiong/buck,darkforestzero/buck,sdwilsh/buck,JoelMarcey/buck,brettwooldridge/buck,justinmuller/buck,vschs007/buck,davido/buck,grumpyjames/buck,LegNeato/buck,marcinkwiatkowski/buck,justinmuller/buck,shs96c/buck,robbertvanginkel/buck,k21/buck,darkforestzero/buck,illicitonion/buck,daedric/buck,shybovycha/buck,davido/buck,ilya-klyuchnikov/buck,zhan-xiong/buck,justinmuller/buck,brettwooldridge/buck,grumpyjames/buck,justinmuller/buck,marcinkwiatkowski/buck,JoelMarcey/buck,Addepar/buck,Addepar/buck,facebook/buck,Addepar/buck,brettwooldridge/buck,daedric/buck,k21/buck,rmaz/buck,dsyang/buck,darkforestzero/buck,dsyang/buck,romanoid/buck,zhan-xiong/buck,davido/buck,justinmuller/buck,davido/buck,zhan-xiong/buck,romanoid/buck,zhan-xiong/buck,shybovycha/buck,vschs007/buck,LegNeato/buck,sdwilsh/buck,SeleniumHQ/buck,clonetwin26/buck,davido/buck,SeleniumHQ/buck,robbertvanginkel/buck,rmaz/buck,grumpyjames/buck,brettwooldridge/buck,k21/buck,romanoid/buck,JoelMarcey/buck,LegNeato/buck,justinmuller/buck,romanoid/buck,LegNeato/buck,rmaz/buck,ilya-klyuchnikov/buck,kageiit/buck,rmaz/buck,grumpyjames/buck,darkforestzero/buck,robbertvanginkel/buck,shybovycha/buck,dsyang/buck,LegNeato/buck,kageiit/buck,vschs007/buck,k21/buck,grumpyjames/buck,rmaz/buck,darkforestzero/buck,clonetwin26/buck,illicitonion/buck,marcinkwiatkowski/buck,shybovycha/buck,robbertvanginkel/buck,sdwilsh/buck,LegNeato/buck,facebook/buck,darkforestzero/buck,SeleniumHQ/buck,romanoid/buck,daedric/buck,robbertvanginkel/buck,daedric/buck,illicitonion/buck,darkforestzero/buck,brettwooldridge/buck,brettwooldridge/buck,illicitonion/buck,SeleniumHQ/buck,sdwilsh/buck,ilya-klyuchnikov/buck,marcinkwiatkowski/buck,ilya-klyuchnikov/buck,brettwooldridge/buck,rmaz/buck,robbertvanginkel/buck,robbertvanginkel/buck,marcinkwiatkowski/buck,vschs007/buck,SeleniumHQ/buck,zhan-xiong/buck,vschs007/buck,dsyang/buck,vschs007/buck,Addepar/buck,justinmuller/buck,JoelMarcey/buck,shs96c/buck,robbertvanginkel/buck,grumpyjames/buck,justinmuller/buck,romanoid/buck,clonetwin26/buck,clonetwin26/buck,shs96c/buck,Addepar/buck,davido/buck,rmaz/buck,dsyang/buck,daedric/buck,SeleniumHQ/buck,illicitonion/buck,sdwilsh/buck,shybovycha/buck,robbertvanginkel/buck,rmaz/buck,robbertvanginkel/buck,rmaz/buck,LegNeato/buck,romanoid/buck,sdwilsh/buck,justinmuller/buck,romanoid/buck