Get DataTypeFactory from Wikibase{Client,Repo} directly

Change-Id: I1de9262e12c2703dd05cb279daab9d9abee7caf4
Merge "Get DataTypeFactory from Wikibase{Client,Repo} directly"