Fix aggregation with complex WHERE bug

aggregation maps are now serialized to EDN before storing in the DB
Merge branch 'query-cache-where-bug' into query-expiration
Add cache wiping