lib/standard/ropes: Added to_leaf method on RopeNode.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/ropes_debug: Adapted new leaves for to_dot operation.

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