Cherry Tomato Compote with Sweet Onions & Rosemary