Merge pull request #72 from ericcj/master

Auto-pointerize in queries and saves
Merge remote-tracking branch 'adelevie/master'
fix saving objects with relations to files