Add support for formatting bits as well as bytes.

Thank you for this very useful library. I've modified it to format numbers in a time-series of internet traffic which is reported in bits/sec. I've added support for a 'bit' format string, which uses base-10 for formatting instead of base-2, since base-10 is the standard for traffic measurement.