Fix 'Wikibase\SiteLinkTable' not found error in dispatchChanges

@todo next step, split this code out of the maintenance script + tests

Change-Id: I1aca3dc45364645abb0c9a9c116c55293b79bd3d
Merge "Fix 'Wikibase\SiteLinkTable' not found error in dispatchChanges"