At a stables near to me the stable master is referred to as the Head Groom, but not sure this would fit in with the setting. Alternatively, and not sure if it has been mentioned, but Avener, or Avenor, (the chief officer of the stables of a king, and the officer in charge of obtaining positions for horses belonging to the king). This might be too much of s title for an Earl's stable master.