fix CDVScannerDelegate signature
update deprecated call to presentModalViewController
autorotate scan controller depending on cordova plist predefined rotation
force preview layer orientation to device orientation
rotate preview layer on device rotation