Add a summary page to query table

This commit adds a summary page for each completed query which displays
the query statement, the query state, the plan and the execution summary.

Change-Id: I9739f1a2ddd1d6465a69d59bb3f173b0101e6fe8
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3645
Reviewed-by: Henry Robinson <henry@cloudera.com>
Tested-by: jenkins
(cherry picked from commit 59ef2ed606d7d9c479f6695c8fc7801fcb0ab476)
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3927