Add a debug printing function for the state
Get dimension filtering working
Reenable more tests; nil comparisons are working
Get in filters working for metrics
Juggle the generated code around a bit
Dimension filtering for 'in' queries with tests