Added option for auto orientation correcting

Added script option for automatically correcting image orientation for
JPGs based on this article:
http://recursive-design.com/blog/2012/07/28/exif-orientation-handling-is
-a-ghetto/