can pass query to delete method, closes #559
check that calculations are dicts
Merge pull request #569 from modilabs/delete-query

can pass query to delete method, closes #559