Update Modules.php to include getModules() for getting all registered modules.

This is useful for generating a list of modules for creating links,..etc to the modules on-the-fly.