Caramelized Onion and Goat Cheese Macaroni