Added code point to text event.
Added stream iface, stub, file stream, unit tests.
Added buffer, unit tests.