update mockfirebase for firebase 2.0 support
Add support for applying queries via a configuration object
Add support for query as fn that is called with ref and returns query
Merge branch 'queries'

* queries:
  Add support for query as fn that is called with ref and returns query
  Add support for applying queries via a configuration object
  update mockfirebase for firebase 2.0 support

Closes #3