add missing "var pathHelper = ..."
fix indention of path-helper.js
Merge branch 'restrict_to_directory'
* add restrictToDirectory to "/createdir"
* add req.query.term to "restrictToDirectory"
* fix ensurePathOk (first restrictToDirectory, then ensurePathExists)
Merge branch 'restrict_to_directory'