Fix numeric verification for Int and Float text widgets.

Allow '.', '-.', and '-' even though without numbers, they cannot be parsed.  This makes these values parse as 0.

closes #5443