Fix warning from including substitute.h in wrong place

Change-Id: I0a93505b15c4cf1b07dbe15927edfda81f858e1e
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1898
Reviewed-by: Marcel Kornacker <marcel@cloudera.com>
Tested-by: Henry Robinson <henry@cloudera.com>
(cherry picked from commit 25bdc1e5bf8bba49a3e0e5ab4a7969e8596d78b1)
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1900
Reviewed-by: Henry Robinson <henry@cloudera.com>
Constrain test_explain to run only on text/none table format

The tests expect to be run against text/none tables which causes failures
on exhaustive test runs.
I don't think it adds any extra coverage to run these tests against lzo 
format so added a constraint.

Change-Id: Ib0878e2ba84107c9df4499def304fe45ba4fe4b4
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1884
Reviewed-by: Lenni Kuff <lskuff@cloudera.com>
Tested-by: Lenni Kuff <lskuff@cloudera.com>
Use unsetIsAnalyzed() in Analyzer.isTrueWithNullSlots() for implicit casting.

Change-Id: I99d6bf227c74c4967f5825626329c637a73e7b1a
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1896
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: jenkins