Update requireAll() so it takes a reference to the local require()
function, so that the require-paths are resolved relative to the code
invoking requireAll().