IMPALA-958: Prune unreferenced partitions from the descriptor table.

The planner prunes partitions before creating scan ranges, but we were still sending
all partition metadata from the FE back to the coordinator (and on to all BEs).  Let's
not bother sending metadata for partitions that are not referenced by any scan range
nor are part of a table that is the target of an insert.

Because the full descriptor table is sent to all backends involved, the savings will be
proportional to the number of backends (and the effectiveness of FE partition pruning).

Change-Id: I6fee2c5957fd6d298361ac6582404487b045bd34
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3943
Reviewed-by: Daniel Hecht <dhecht@cloudera.com>
Tested-by: jenkins
Change codec interfaces to expect const uint8_t* for input data

Change-Id: Ib2d92a38a32e296ae8280dfbe7be63523e4795c0
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3947
Reviewed-by: Henry Robinson <henry@cloudera.com>
Tested-by: jenkins
CDH-20905: Disable Sequence Writer Test

Disable the test to unblock builds.

Change-Id: I2cf61251f71b884df6644116d6e31b4e53266bb1
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3952
Reviewed-by: Nong Li <nong@cloudera.com>
Reviewed-by: Ippokratis Pandis <ipandis@cloudera.com>
Tested-by: jenkins