tests/unittests: merge lib-ringbuffer into core

Fixup for https://github.com/RIOT-OS/RIOT/pull/2017