Add base TestCase class
Add base TestCase class

Work in progress, looks a bit dirty right now

PierreSelim/mwclient,ubibene/mwclient,danmichaelo/mwclient,Jobava/mirror-mwclient,JeroenDeDauw/mwclient,mwclient/mwclient,AdamWill/mwclient