Fix deprecated query() calls.

Dart 1.0!
Merge pull request #3 from jtmcdole/queryDep

Fix deprecated query() calls.