Move Query out of lib and QueryContent out of repo, both to Wikibase Query

Change-Id: Icdb133b5574366739152274aef3d89ec2e6591d9
Merge "Move Query out of lib and QueryContent out of repo, both to Wikibase Query"