remove the leveldb and snappy patches since we don't need it anymore
fix#86. Support arithmetic operators in select clause
minor changes