Green Beans with Caramelized Onions and Almonds