Queries passed into methods are copied so the original isn't altered (issue #3). Also some simple code cleanups.
Merge branch 'master' of github.com:richard-jones/esprit into copied_queries
Merge pull request #5 from CottageLabs/copied_queries

Copied queries