Move the helpers module into tools.js

Note that for now, Helpers is still a JavaScript module, not an
angular module.