Add "pidgin/tmpl" and integrate into "pidgin/Widget"

"tmpl" is an AMD plugin for loading MDV based templates and providing
referenced instances of the template.