fix error when return scope is empty string

- updates to Hapi v5.1, Joi v4.5
- fixes #65