Pull request for tracker item #33114

I'm not sure if I'm doing this right, but I've updated the JControllerLegacy class to make it easier to use polymorphic models without overriding existing functions. 

The only change is to the display function and shouldn't present any backwards compatibility issues, because all of the changes were to local scope variables. 

Please test and let me know what you think.