Fixed print keyword problem for Python 3.4 compatibility

Changed to function syntax for print() instead of the removed keyword syntax
Avoid overwriting self.state descriptor
Account for changed Mesos JSON format