fix(ngHint): refactor to remove unintentional test error

After the refactor of logic in #22 the function loadModules()
was removed which is necessary for the operation of the
monkey patching of resumeBootstrap. This refactor
adds back a function that returns a list of modules
without calling resumeBootstrap().