Issue #1519720 by Niklas Fiekas: Remove element_validate_integer() and element_validate_integer_positive() in favor of the new number element type.
Issue #1519852 by Niklas Fiekas: Use the new number FAPI element for the number field textfield widget.
Issue #1527988 by Niklas Fiekas: Fixed Missing or legacy number validation.