Change Loader.load_modules to store modules as an attribute on self

The builds are failing on #10922 and I belive it's because the __salt__
reference is not being packed into the modules correctly due to fact
that load_modules was returning the list.

Now the modules are stored as an attribute on the Loader object.