Add /memz and /threadz debug pages to catalog server

Change-Id: Ie95699b2973991dd93c20dcca7c7d3f2d95af850
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1593
Reviewed-by: Henry Robinson <henry@cloudera.com>
Tested-by: jenkins