Sets the compatibility level for the given subject.

def set_subject_compatibility_level(self, subject, level):
        """
        Sets the compatibility level for the given subject.
        """
        res = requests.put(
            self._url('/config/{}', subject),
            data=json.dumps({'compatibility': level}),
            headers=HEADERS)
        raise_if_failed(res)