Simplified replace().
Style corrections.
Added an additional property: utf8 size in bytes.

Useful for buffers.
Added a counter of utf8 bytes.
Rearranged getUtf8Length().
Bugfix: don't propagate a sign bit.
Better work with Unicode, and Buffer.