SubobjectParserFunction to use HashBuilder
QueryProfilerFactory to use Query::getHash
Merge pull request #572 from SemanticMediaWiki/id-clean-up

HashBuilder usage and QueryProfilerFactory clean-up