Fix iOS7 and iOS8 incompatibility issues

* Fix iOS7 and iOS7 UISplitViewController incompatibility issues

* Fix Storyboard warnnings due to unavailable attributes in iOS7

* Fix iPad ImagePickerViewController popover display issue in the portrait mode