Pass site around
Pass site around

Several methods in textlib received a Site object, but didnt pass
it to other methods.

Bugs identified by running textlib tests using a dry site.

Change-Id: I364886afcf0e7a7caf0d3f548a35b53fde0b216a

npdoty/pywikibot,hasteur/g13bot_tools_new,h4ck3rm1k3/pywikibot-core,happy5214/pywikibot-core,VcamX/pywikibot-core,emijrp/pywikibot-core,hasteur/g13bot_tools_new,valhallasw/pywikibot-core,npdoty/pywikibot,magul/pywikibot-core,jayvdb/pywikibot-core,PersianWikipedia/pywikibot-core,wikimedia/pywikibot-core,wikimedia/pywikibot-core,trishnaguha/pywikibot-core,happy5214/pywikibot-core,magul/pywikibot-core,jayvdb/pywikibot-core,smalyshev/pywikibot-core,hasteur/g13bot_tools_new,Darkdadaah/pywikibot-core,h4ck3rm1k3/pywikibot-core,TridevGuha/pywikibot-core,Darkdadaah/pywikibot-core,darthbhyrava/pywikibot-local,icyflame/batman,xZise/pywikibot-core