This deliciously cheesy mushroom casserole is wonderfully flavored with onions, thyme, and melted gruyere.