Include is_owner flag in results from shared queries endpoint

Also, the template used on the shared queries endpoint is now much more restrictive in terms of number of fields returned. This is to cut down on the overhead on the shared queries resource.