Use set in Page.templatesWithParams
Use set in Page.templatesWithParams

Set membership lookups are faster.

Change-Id: I6cf46fdfe6c8494857f38acc468fc4b90c03b56a

wikimedia/pywikibot-core,wikimedia/pywikibot-core