Added ToStr implementations for &[T] and @[T]
auto merge of #5145 : Kimundi/rust/incoming, r=catamorphism