Implemented reference counted buffer
ystring passes tests
Added stack based buffer
DBG_ASSERT_RET added