PIVOT-990: Fix the RepositionCallback logic in TerraMenuPopupSkin so that a menu whose width or height is greater than the display width or height will be positioned at 0 (X or Y as appropriate, or both), and whose containing Border will be sized to the limiting display dimension. This allows the contained Panorama to automatically insert scroll arrows so the menu that has overflowed can be scrolled into view. This is a merge of revision 1756534 from "trunk" to "branches/2.0.x".