impl Clone for CString

Clone tests
impl Eq for CString
auto merge of #11840 : cmr/rust/cstr, r=kballard