Introduce type hinting for Wiki class

The Wiki class gets passed around a lot. Type hinting is helpful
and is cost-free when there are no back-compat issues.

See also
https://www.mediawiki.org/wiki/Architecture_guidelines#Type_Hinting
Merge pull request #57 from Jarry1250/typehinting

Introduce type hinting for Wiki class