Move QueryInterface into package root NS

The old location no longer makes sense now the schema code and SQL builders are gone
Erm, not add, just fix the broken line. `Wikibase\Database\Exception` doesn't exist.