Avoid usage of UITextAlignment when on iOS 7 SDK

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.