Fix warnings on iOS 6

* UITextAlignmentXXX
* {push|dismiss}ModalViewController
Merge branch 'fix-deprecated-warnings'