Fixed deprecations for iOS 6

Update deployment target to iOS 6 and fixed the resulting deprecation
warnings. All related to deprecation of UITextAlignment*