Making the C++ interface accept variables for XOR clauses
Fixing memory leak
NULL-ing out mysql statements
Forgot to set this value to zero
Fixing XOR clause python interface, fixing python tests