ios-bugfix-orientation

ive closed the previous ios orientation PR as it had too many small commits which were going back and forth.

this PR is the final solution to ios orientation and is good to merge.

ios orientation changes are now natively animated by the view controller.
iosOrientationExample demonstrates all the new functionality.