add python version check to mesos-ps so that mesos-ps can run on python2.6 or above.

review: https://reviews.apache.org/r/14941/