example: use the new middleware registration

Rework the example generator to use `server/middleware.json`
for registering static file middleware.
Merge pull request #73 from strongloop/feature/update-example-to-new-middleware-config

example: use the new middleware registration
Update dependencies

Most notably yeoman-generator to 0.18.