Exposing UITextAutocorrectionType and initializing it to none.

Sorry, this is the same pull request from before.
I've created a separate branch for this, and my master no longer has this change.
Sorry for the confusion.

We probably don't need to do nil checks here because it's Objective-C, unless there is another reason I'm overlooking.