DRILL-1684, DRILL-1517: Profile and cancellation updates
- Remove any storage of persisted profiles.
- Store a separate query info object for active queries.
- Update cancellation and running profile loading to query foreman server.
- Make file store support HDFS APIs
- Update PStoreProvider to use configuration to decide if you want PERSISTENT, EPHEMERAL, or BLOB storage rather than separate interfaces.
- Update ZkPStore's persistent mode to leverage a cache and respond to changes rather than actively probing values.
- Update ZkPStore's cache to be effectively write-through.
- Automatically delete deprecated or default value options from PStore.
DRILL-1591, DRILL-1676: Move javascript resources to local serving and update dagre-d3 to older version (2.9).  Update profile page.
DRILL-1656: Fix wildcard queries to correctly determine selection root.
DRILL-1639: Close Hive resources
DRILL-1678: Add fragment and operator id to label in plan visualizer
DRILL-1675: Add method to get QueryId from DrillResultSet
DRILL-1674: Set schema in WriterRecordBatch
DRILL-1659: Increase default maxWidth for sqlline to 10k
DRILL-1648: Fix for fast schema issue that was causing compilation issues in downstream operators.
DRILL-1647: Enable rewrite rule to allow multiple flattens in s a select clause. Fixes a few outstanding issues that were the reason for disabling it.

Fix for the failed Regression test run. Was an issue with removing cast information, simply needed to return the original expression rather than try to clone it if rewriting was not needed.

Was not visiting the child of a project appropriately, this was causing complex expressions nested inside of a sub-query to fail.
DRILL-1643, DRILL-1665: Flatten fixes
 - Fix repeated map vector to correctly report value count
 - Update flatten so init variables are reset for each new batch.
Remove extraneous System.out.print statements.