Add more options for automatic capitalization

Change 'autoCapitalize' property of TextFieldView to accept a variety of
constants instead of a boolean, so that autocapitalization of words and
characters can be used. Backwards-compatibility with boolean values is
retained.
Merge pull request #1064 from ianejames/autocapitalize

Add more options for automatic capitalization