Spiced Lentil and Caramelized Onion Baked Eggs