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

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