Automatically refresh summary page

This patch adds a checkbox to /query_summary so that, when checked, the
summary and status of the query are automatically updated once per
second.

Change-Id: I19c183100e03be437d1dd34d8366507503705d07
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/5147
Reviewed-by: Henry Robinson <henry@cloudera.com>
Tested-by: jenkins
(cherry picked from commit 35486b6f92096d94f6795fcf63dd5a6ff0ae8110)
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/5191