Upgrade hapi to 7.0.0

In 7.0.0 [hapi removed options.views](https://github.com/hapijs/hapi/issues/2007). This patch updates the hapi dependency and appropriately changes the way views are instantiated.