Adds unit tests for PanelPane's use of ModalPane.
Fixes bug where PanelPane's ModalPane would appear if isModal becomes true while the PanelPane is transitioning out.
Merge pull request #1089 from sproutcore/team/dcporter/panel-modal-fix

Fixes a bug with setting isModal to YES on a PanelPane in transition out. +unit tests