lib: include cached modules in module.children
module.children
is supposed to be the list of modules included by this
module but lib/module.js failed to update the list when the included
module was retrieved from Module._cache
.
Fixes: https://github.com/nodejs/node/issues/7131 CI: https://ci.nodejs.org/job/node-test-pull-request/9038/