rb: allow to remove data from a ring buffer

we provide two new ways to remove data from a ring_buffer

rb_remove(rb, n)
or
rb_get(rb, NULL, n)

closes #2