Update compile time checks to avoid usage of UITextAlignment under iOS 7 SDK and remove duplicated NSLineBreakMode conversion code.

Defines NIIOS_7_0 and selects usage of NSTextAlignment even when the IPHONE_DEPLOYMENT_TARGET is set to 5.1 or below.

Also removes identical blocks for converting NSLineBreakMode.