Update deployment target to iOS 7

Replace sizeWithFont:minFontSize:actualFontSize:forWidth:lineBreakMode: with fractionalSizeWithFont:minFontSize:actualFontSize:forWidth:lineBreakMode:
Update deployment target to iOS 7

Replace contentSizeForViewInPopover with preferredContentSize