Fixed an issue with setMasterViewController and setDetailViewController. Both failed to remove the view's of the old viewControllers which may lead to crashes if e.g. a tableView remains in the view hierarchy and tries to reload the content from the now deallocated viewController.
Added Xcode4 workspace, ignored xcuserdata.
Fixed warnings: NSObject was implicitly cast to UIViewController
Updated to build settings Xcode 4.3.3 recommends.

Use Latest iOS (5.1) Base SDK
Use iOS 3.2 Target
Remove PREBINDING
Merge branch 'xcode4.3.3_project_settings' into master2
Merge branch 'xcode4_workspace' into master2
Avoid UIPopoverController warning on iOS 5.1.

On iOS 5.1, passing a CGRectZero here produces this following ominous message:
-[UIPopoverController presentPopoverFromRect:inView:permittedArrowDirections:animated:]: the rect passed in to this method must have non-zero width and height. This will be an exception in a future release.

This workaround was tested thusly:
On iOS 4.3, CGRectZero leaves a popover afterimage before rotation, so does the code below
On iOS 5.0, CGRectZero leaves a popover afterimage before rotation, the code below does not
On iOS 5.1, CGRectZero leaves a popover afterimage before rotation, so does the code below
Basically, this hack performs slightly better than the CGRectZero hack, and does not cause an ominous warning.
Merge branch 'fixed_popover_CGRectZero_warning' into master2
Turned on more warnings, fixed code causing warnings.

These warnings were mostly about implicit conversion from double to float.
Merge branch 'more_warnings' into master2
Run static analyzer on build. Fixed warnings.

Warnings were all about use of uninitialized values. Initialized values to zero or nil in unintialized cases.
Merge branch 'run_static_analyzer' into master2
Auto-rotate only when both master and detail want to.

Changed shouldAutorotateToInterfaceOrientation: to match the behavior of UISplitViewController where we don't autorotate unless all views support it.
Merge branch 'rotate_when_both_master_and_detail_rotate' into master2
Addressed issue 69 on mattgemmell/master
Merge commit '092f0188bcfd8f91c7119602e37b47606a4f961d'

Conflicts:
	Classes/MGSplitViewController.m
Merge commit 'a63c963ac56f597b90b7ef9fbe06f5082d8da851'

Conflicts:
	MGSplitView.xcodeproj/project.pbxproj
Merge commit '185598a79505f37c5603867b0bfe48a8efcf10e5'