(PE-2408) Update to latest kitchensink exception handling

This commit bumps our dependency to 0.4.0 for kitchensink,
and refactors our cli exception handling to be consistent
with the way the slingshot exceptions are now thrown from
KS.