yesod::rope: overhaul to use new counted_ptr<> (9)

Mostly operational.

Signed-off-by: Alex Dubov <oakad@yahoo.com>