Orientation

Add in support for rotation detection plugin. Plugin runs by default. If plugin is not installed or the user sets the --no-orientation-detection option than no rotation detection is performed.