Adds global `beforeEach` and `afterEach` hooks.

Adds global hooks to run code before and after each test suite (file).
These are specified in the file loaded using the `globals_path`
setting in `nightwatch.json`. They may be synchronous or asynchronous.