Preheat the oven to 350 degrees. Prepare a 9 x 13 inches baking pan with nonstick cooking spray. Whisk together the dry ingredients: flour, baking powder, ground cinnamon, salt, and ground allspice. In a large mixing bowl, cream the butter and sugar until light and fluffy, for 5 to 7 minutes. Beat in eggs and vanilla. Then, add the bananas and mix until combined. Add the dry ingredients to the cream mixture and beat just until combined. Spread evenly into the prepared baking pan and top with dollops of cranberry sauce. In a small bowl, combine the brown sugar, chopped pecans, and flour. Stir in the butter. Sprinkle over the top of the cranberry sauce. Bake for 45 to 50 minutes. Cool in the pan on a wire rack. Slice into squares and serve warm.