Make Wikibase work with the new DataValues and DataModel components

Change-Id: Iec81775f481e5e3c5c427df0057f448ef5a8ab4b