VE-526 Display all parameters in the new template dialog in VisualEditor

I used "pages" which is the same as the templatedata API because the basic formatting is similar: the result set is a list (object) of page IDs with the data for each template page (title and params) listed under each page ID. I suppose "pages" could be renamed to "results" if it's too confusing.