Added GroupedQuery call to views, so it doesn't have to be wrapped in a pagedresult.
Query and GroupedQuery are optional on a view, and return a not implemented exception by default if they aren't overridden