add condition flip to skipped tests
add query to test flip bugs
fix 1st bug: getting wrong var position
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
Merge pull request #111 from uwescience/bmyerz-flip-logic

LGTM