Match renaming and interface splits in WikibaseDatabase

Depends on https://gerrit.wikimedia.org/r/#/c/83624/

Change-Id: I1672faafa23b57e568eb822b1134fb5ed1fabd0d