Refactor model tests
Fix attribute management, relations refactoring
Use new argument order for relations stuff
Refactor ResultSet tests
Use mock_document more generically
Fix bad typo
Fix result grouping
Add relations docs
Add tags file to .gitignore