Added option to format numbers with a comma for the thousands separator

Added a feature to format a number with the thousands separator.

e.g. 1024 becomes 1,024.

It is applied to the min, max and value numbers.

I didn't include this with humanFriendly as it is really an alternative to it.