IMPALA-1433: Support min/max for windows rewritten to be unbounded preceding

We currently don't support executing min/max over sliding windows
(i.e. start is not unbounded), but we should support them if we can
re-write the window to be unbounded preceding (i.e. because the end is
unbounded we can flip the window and sort).

Change-Id: I3469e482ab29367748b10ea82a08477bc3388219
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/5036
Reviewed-by: Matthew Jacobs <mj@cloudera.com>
Tested-by: jenkins
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