Fixed a crash when a TTAlertView was created without a cancel button.

Also avoided some Xcode 5 warnings.