Added Mesos/Marathon requests v1/v2 compatibility
MESOS/MARATHON: Switched to a callable check for r.json
Merge pull request #1039 from lgtml/mesos_marathon

Added Mesos/Marathon requests v1/v2 compatibility