ios: Fix scanner orientation problem [Fix #7]

The fix contains 3 parts:
- Enable the auto-rotate according to user choice
- Rotate the video preview according to the UIInterfaceOrientation
- Make sure the web view is well positioned during the attachment/
detachment operations.

Thanks for the contribution of @stephanebachelier.