Make test_randompages work with latest mwclient
Bump version to 0.3.1