Initial query re-write
More changes to prepared statements
Merge pull request #135 from CORE-POS/fannie-prep-statements

Fannie prep statements