Bug fixes in columnar rewriter

Below are the fixes.
1. Eliminate null append in where and group by in irrelevant places.
2. Index out of bound exception fix for dimension queries.
3. Explain param and value configuration change in JDBC driver.
4. Changes in query construction to support database and column rewrite in from clause and other minor bug fixes.