libtracker-sparql: Implement dispose() in TrackerResource
TrackerResource may in some circumstances contain links to itself, or other reference cycles. We should eventually offer a destroy() method, but implementing dispose() will at least provide a tool to ensure those cycles are gone.