Replace all ~"" with "".to_owned()
Back out of ~"" -> "".to_owned() in modules that break tests
std: Use str::StrSlice in tests