Adding SPARQL Query Handling in Servlet

Now prints the query ResultSet to the webpage instead of console.