Set the default hapi version to 2.x

The latest version of Hapi is the number 3. This new version is not compatible with the initial `server.js` code of the generator. So for the moment I just put the default version to 2, until we adapt the code for the latest version.