Added WikibaseDatabase as missing dependency to WikibaseQueryEngine

Change-Id: Iffdfcce361488e09ea910233451508934fb69fdb