mods/cmd_listmods: Wrote command module to list loaded modules.