halt and catch fire on errors in build

Also capture the errors from the dockerode build stream; if any are received, die with an explanation.
just missing 'var' keyword (for hygiene :))