This patch attempts to resolve issues #2004 and #2006.
It adds a new field in the metadata widget info struct for "hint_type". When generating the widgets, it checks this field and then adds a tooltip with the metadata ID (for #2004) and if there needs to be special handling for multiple values (for #2006).
@Wormnest, hi! This was my idea from IRC. When you have time, please let me know what you think. I'm sure I need to add more hint types, but this is the basic structure I had in mind.