Move the fast String::number() implementation to a shareable place so both string types can make use of it.