std::vec: move documentation from impls to traits.

This means the text is visible in rustdoc.
auto merge of #9848 : huonw/rust/move-trait-doc, r=alexcrichton

This means the text is visible in rustdoc.