Carmelized Onion and Apple Hash (Vegetarian)