mw/ext/Wikibase: split client and server (experiment)

Change-Id: Idc47a30325b5572ed7a1ae30d8bea6a15979f0bb