Fixed query 10 of CHBench
Minor fixes for queries 4,5,7,8 and 22
Merge pull request #20 from alendit/ch_fix

Minor CHbenCHmark fixes