MDL-36224: Adding grouping to lti_get_types()

In addition, if a subtype does not have help, then
it will default to module help instead of no help
at all.  This is a change to get_module_metadata()