Clean-up

- Add SMW\Tests\Integration\Query\RecordTypeQueryTest
- Add SemanticData::addSubobject
- Ensure $GLOBALS['smwgNamespace'] = "http://example.org/id/"; is set for RdfXmlSerializationExportTest
Merge pull request #581 from SemanticMediaWiki/tidy

Clean-up