Auto-pointerize in queries and saves

so you can save objects you get back from queries with include, construct queries with objects without explicitly calling pointer on them, etc.