French Onion Pasta with Gruyère Cheese