(bug 65156) use LooseVersion to compare mw versions
(bug 65156) use LooseVersion to compare mw versions

LooseVersion from distutils.version enables a more sensible way to
compare mw version directly e.g.

>>> from distutils.version import LooseVersion as LV
>>> LV("1.23wmf1") < LV("1.23wmf2") < LV("1.24") < LV("1.24wmf1") < LV("1.24wmf10") < LV("2.1")
True

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