libtracker-sparql: Expand TrackerResource URIs before insertion
When using the APIs to insert TrackerResources into the database, the resources might be identified through a compressed URI. We do only store expanded URIs, so these compressed URIs should be expanded according to the available prefixes.