Some work on std::ascii: Marked unsafe function unsafe, added moving implementations
auto merge of #9059 : Kimundi/rust/master, r=huonw

- Marked a unsafe helper function as unsafe, added a second helper function
- Added moving implementations