tests/unittests: merge lib-ringbuffer into core

Fixup for https://github.com/RIOT-OS/RIOT/pull/2017
Merge pull request #2157 from LudwigOrtmann/unittests-lib

tests/unittests: merge lib-ringbuffer into core