Reset query tests
Setup main query before tests
Add in_loop var to ensure we're in a loop before allowing the site to be switched
Add docblock
Merge pull request #113 from 10up/bugfix/resetquery

Bugfix/resetquery