fix start script for SmartOS
Removes LegacyPlanBuilder
Clean up of QueryContext
Welcome, @yinwang0
Merge pull request #1125 from yinwang0/master

fix start script for SmartOS
Merge pull request #1129 from systay/no-legacy-planbuilder

Removes LegacyPlanBuilder
Merge pull request #1121 from systay/querycontext-cleanup

Clean up of QueryContext
Enabled integration tests for shell, ignored failing test with description of how to fix (fix is too large for this commit).