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

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