Feature/delete query

You can now delete queries properly. Also added a column for people with the permission to "edit_query" to delete queries from /queries