Pumpkin Cassoulet with Caramelized Onions and Roasted Garlic