Add a from_str function that calls out to the associated method on the trait
Add from_str docs
Fix import order which caused the wrong from_str to be in scope
auto merge of #8988 : cmr/rust/fromstr_fn, r=brson

It just calls out to the associated function on the trait.