Fix metric master_slaves_state and mesos_frameworks_state
Fix metric master_slaves_state and mesos_frameworks_state

This is a cherry pick from
https://github.com/infonova/mesos_exporter/commit/dfaafbead0865983833c41a8bf29d73230639d6e.

Fra-nk/mesos_exporter,mesosphere/mesos_exporter