Implement RandomPageGenerator and RandomRedirectPageGenerator

Also implemented deprecated methods from compat in the Site class.

Bug: https://sourceforge.net/p/pywikipediabot/feature-requests/339/
Change-Id: Ie1ae30578fd3bf415bf38a19f7caf00a822f96c1
Merge "Implement RandomPageGenerator and RandomRedirectPageGenerator"