Apple, Onion and Rosemary Pork Roast