Gruyere Mushroom and Caramelized Onion Tart