Allow queries to be specified as a dict.

Adds the ability for the queries parameters to be defined as a mapping
of zoom level to the query.  Undefined zoom levels are assumed to be null.