Gallery : Check if image has orientation

Check if item being cropped has orientation

Change-Id: Ib9170967bc071a65e5a5cd44d0a2e95e8dd57365
Merge "Gallery : Check if image has orientation" into cm-10.2