Now passing rdflib result object to templates.

Also checking for rdfs:label, dc:title, and foaf:name in template population