Wrapping up planning of analytic functions.

This patch adds support for:
- analytic functions in inline views
- analytic functions referencing inline views
- analytic functions in unions
- analytic functions in subqueries/joins
- avoid generating plan for non-materialized analytic exprs
- predicate assignment and propagation onto and through
  analytic eval nodes

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