[FEATURE] Adds a buildError hook

`buildError` hook will be called on when an error occurs during the
`preBuild` or `postBuild` hooks for addons, or when `builder#build`
fails

/cc @rwjblue 
our convention is to use bind over self+closure