Refactored mesos-ps to display CPU and memory information.

From: Shingo Omura <everpeace@gmail.com>
Review: https://reviews.apache.org/r/15200
Refactored mesos-tail to use helpers from cli.py.

From: Shingo Omura <everpeace@gmail.com>
Review: https://reviews.apache.org/r/15336