(bug 66403) enable redirect.py follows section links
(bug 66403) enable redirect.py follows section links

site.getredirtarget() didn't take into account sections and also
page.getRedirectTarget() didn't find the section. This is a
breaking change againts compat behaviour and causes redirect.py
to fail. This patch looks for the section in the redirect target.

Additional improvements:
- normalize title by api result
- title encoding for Exception messages

Change-Id: I4b6d7f32fc1ec79eb962fa8d21d283b4fe783fbf

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