Add the ability to properly validate partial numeric input in dijit/form/NumberTextBox

The fix includes accounts for leading/trailing 0s and the min/max possible values based on the maxLength of the input. fixes #17923