Tidy up list of apps and modules.

Modules are already listed on the namespace page, so don't duplicate
them here. Also, make it clear that applications are command line tools.
Group indexes correctly.