Queries using special characters

[0] http://wikimedia.7.x6.nabble.com/Virtuoso-and-special-characters-tp4987825.html
Merge pull request #461 from SemanticMediaWiki/special-char

Query properties with special characters
Add SubcategoryQueryDBIntegrationTest / SubpropertyQueryDBIntegrationTest
Merge pull request #463 from SemanticMediaWiki/tests-before-460

Add Subcategory / Subproperty query tests