Added method to fix image orientation.
Added more methods to NSDate.