instead of condition order, use references

mainly fixes remaining bugs regarding calculating
the proper UnnamedAttributeRef positions during plan
creation

Also, now more general. Still only supports depth=1 binary
conditions, but will be easier to finish generalizing
more logging for parsed result, debug
move the test queries back to the bottom of test_query
un-skipify the condition flip error test
two new tests for condition/attributes fixes

these failed before this branch