Pages revisions code cleanup
Pages revisions code cleanup

- Use Page.revisions() generator to retrieve Revision objects.
  This is derived from site.loadrevisions and will solve some
  bugs like T66188 and T57261
- add rollback parameter for revisions method already supported
  by loadrevisions
- getVersionHistory() and fullVersionHistory() are deprecated
  and it is recommended to use revisions() instead.
- __getitem__() if Revision class enables indexed read access to
  its values. This may be used for format strings, a sample is made
  in getVersionHistoryTable()
- deprecate some args on several methods, rename "reverseOrder"
  with "reverse" and "getText" with "content"
- use Page.revisions methid for latest_revision_id() and
  latest_revision() methods

Change-Id: I35fe88849655b7dda3763ac7fa37802d8149e636

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