Use EStore to track running query status.

Move common code to ZkAbstractStore.

Get full profile from foreman directly.

code cleanup.
DRILL-1592: detect drillbit failure and cancel the affected running queries.