rb: add a first version of the library

first working version of the library. the binary stuff is included.
we can write to and read from a ring buffer.
rb: add ascii support

in order to be able to deal with strings (i.e null terminated), we
provide a new set of functions

rb_puts
rb_printf / rb_vprintf
rb_gets / rb_gets2