Add iPad compatibility and auto-rotate fix to example code.

Built on top of your improvements to the example code to fix a crash, invisible actionsheet, and auto-rotate bug on iPad.

You should consider sending a pull request to https://github.com/heitorfr/ios-image-editor  ...     I think your improvements + these iPad fixes are some good improvements to the example code.

Cheers!

- Matt