Fix oddly formed conditional in rest interface query parsing
fixed some tautological-compare and unused variable warnings
Merge branch 'bugfixes/tokumx-1.4'