reconstruct the query string from the ast
remove an unnecessary test
take a shortcut if we get an integer value
remove the stupid pprof that was in the WAL test suite
Merge pull request #244 from influxdb/string-from-ast

Reconstruct query strings from the ast