Support named before/after hooks, see issue #966.

Add title parameter with fallback to before, beforeEach, after and afterEach hooks to make debugging hooks easier instead of guessing which hook has failed.