(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
Merge "(bug 66403) enable redirect.py follows section links"