Add API support for Replay Buffer

Closes https://github.com/jp9000/OBS/issues/374