Feature/query result as csv

Please review my changes to export query results as CSV file (via Query Extension). Also note that there is a corresponding branch in OntoWiki (pull request already sent).