lib/ropes: Added splay method on Ropes and use it when inserting in a rope.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
tests: Adapted rope tests for splay_ropes.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>