std: Implement FromIterator for ~str

FromIterator initially only implemented for Iterator<char>, which is the
type of the main iterator.
auto merge of #8100 : blake2-ppc/rust/str-collect, r=pcwalton

FromIterator initially only implemented for Iterator<char>, which is the
type of the main iterator.