add strip_empty_fraction_parts option

to number_with_precision.
This option tells the formatter that, should it receive a decimal with only zeroes after the decimal point,
it should discard them regardless of other formatting option.

Implements #5