add support for hapijs 8.0

I modified it to support hapijs 8.0. Only some errors in test run are left which I couldn't resolve. maybe someone can fix them.. this will resolve #4