Add SubcategoryQueryDBIntegrationTest / SubpropertyQueryDBIntegrationTest
Merge pull request #463 from SemanticMediaWiki/tests-before-460

Add Subcategory / Subproperty query tests