When reverting on blur, NumberInput remembers last format

Uses the recently added getFormat from KhanUtil

Test Plan: Open up something with NumberInput (like numeric-input): "1/5a" should revert to "1/5", ".2a" should revert to "0.2"