Adding Container trait along with implementation for strings and slices.

These were a few bits I needed to try to use rust-core with Boot2Rust.