Grease a 2 quart square baking dish. Arrange apple slices in the bottom of dish: Sprinkle with lemon juice, cinnamon, and nutmeg. Top evenly with raisins. In a large bowl, combine flour, brown sugar, baking powder, and baking soda. Add milk, 2 tablespoons melted butter and vanilla; mix well. Stir in pecans. Spread batter evenly over the apple mixture. In a small saucepan, combine the caramel topping, water, and 1 tablespoon butter, Bring to a boil. Pour mixture over batter. Bake at 350 degrees for 35 minutes or until center is set. Serve warm, with ice cream if desired.