core: sys: move ringbuffer to core
Merge pull request #2017 from kaspar030/move_ringbuffer_to_core

Move ringbuffer to core