Egg Gratin with Wisconsin Gruyre, Ham and Brioche