For #3
Coverage. Closes #3
Isolate tests
updated to Hapi 6.0
from PR comments
Merge pull request #5 from biant/master

updated to Hapi 6.0
use onRequest instead of onPreAuth to attach plugin handlers
don't die when payloadHash is not set