Baked goat cheese with pesto and caramelized onions