Fixes for -Wunused-function. CGLineBreakModeFromUILineBreakMode() is only defined prior to iOS 6.
Fixes encodeWithCoder: and initWithCoder: for self.enabledTextCheckingTypes.
Merge pull request #327 from realestate-com-au/xcode51-fixes

Fixes highlighted by Xcode 5.1