Added onError to PlayRunHook, which is called whenever play run has an exception.
Merge pull request #2437 from andrewconner/playrunhook_onerror

Adding onError to PlayRunHook, which is called whenever play run has an exception.