Caramelized onion tart pastry