Adding new property and fixes.

Added a new property ‘masterPaneShownOnInitialRotationToPortrait’ that
allows control over the initial state of the master pane when the
device is rotated to the portrait orientation. Also updated the
‘willLayoutSubviews’ method for more robust response to layout changes.