[libqtsparql] Fix tests after update to tracker-sparql-0.18

See 37f1a8d ([tracker] updated for tracker-sparql-0.18 buildrequires)
Tests packaging: Add dependency to endpoint subpkg
Merge pull request #8 from martyone/master

Fix tests