Add close for virtuoso queries.

Add some test methods. Empty.
Add code to check URI/IRIs.
Add code to close connection with Virtuoso Results.