Allow more complex field validation.

Added a Validator interface to NativeTextField. Validator may prevent any user-entered change to a
native text field. Consequently, the setMaxInputLength method has been removed from NativeTextField.
Field now implements MAXIMUM_INPUT_LENGTH Style via a Validator.