more queryfield cleanup.
clean up logic concerning initial rendering of queryfields.
clean up tree fields in queryfields.
better handling of date parts in queryfield.
query field operator indexing.
declarative hiding of queryfield elements based on state.
don't allow queries with no complete fields to be ran or saved.
make a copy of query to use when rendering results, so that changes in
the querybuilder don't cause mismatches.