Editing statusCode assignment for onPreRelease event (line 50). Hapi 3.x...

Hapi 3.x request request object seems to have changed structure. request.response is now an object rather than a function.