Update BrowseBySubject to use #366

- BrowseBySubject to rely on Store::getSubSemanticData
- Modify BrowseBySubjectTest to use \PHPUnit_Framework_TestCase
- Add BrowseBySubjectApiDBIntegrationTest
Merge pull request #380 from SemanticMediaWiki/api-browse-subject

Update BrowseBySubject to use #366
Add AdvancedQueryForResultLookupDBIntegrationTest
Merge pull request #381 from SemanticMediaWiki/query-tests

Add AdvancedQueryForResultLookupDBIntegrationTest
SPARQLStore / QE / Split conditions, add SparqlConditionBuilder

- Individual condition are moved from SMWSparqlStoreQueryEngine
- Condition buidling has been moved into its own component to aid SRP
- SparqlConditionBuilder now takes in a Description and outputs a
sparql where condition
Merge pull request #383 from SemanticMediaWiki/sparql-qe-condition

SPARQLStore / QE / Split conditions, add SparqlConditionBuilder
Modernize dumpRDF script

- Fix bug 35679
- General script hygiene
- SMWExportController::printAll is now protected, the public interface
`printAllToOutput` and `printAllToFile` are two dedicated methods to do
only things they are responsible for
- Add `DumpRdfMaintenanceRegressionTest`
- Add `RdfXmlSerializationExportDBIntegrationTest`