Fix before/after exceptions to be reported

Fixers #277 

@hueniverse what do you think of this solution?  It wraps calls to `before`/`after` in a domain so that we can know when they have exceptions and can report them.  Otherwise, if an error occurs in an `after` the process exits with code 0. 

This will need to go into a higher version, maybe 5.1.0 ?