Set canonical window/ordering/function when analyzing an AnalyticExpr.

Change-Id: I8f3cef32cbf67bd96abca02cd79468c2c30e6f48
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4218
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: jenkins