Added most of TPC-H, some queries need to be fixed.

Major improvements to the build and generate scripts.