Autoselect format based on answer (for NumericInput widget)

Test Plan: Without manually choosing a format, try entering a proper/improper/mixed fraction, number with pi, integer/decimal and see that it changes accordingly. See that pi doesn't change to π onChange or onBlur, but if you mess it up (add an 'a') and blur or refresh/JSON mode, it changes to π.

Auditors: jack