Methods to dynamically allocate cork_ring_buffer

This patch includes two new methods, `cork_ring_buffer_new()` and
`cork_ring_buffer_free()`, which allocates a ring buffer on the
heap.
Merge branch 'feature/ring-buffer-heaped' into develop

* feature/ring-buffer-heaped:
  Methods to dynamically allocate cork_ring_buffer