Fixed support for Hapi 4.0.1

Handle route.pathParams and route.queryParams that are Joi objects and
params._settings may be null.