Add RingBuf examples

This adds examples for get(), get_mut(), swap(), iter() and mut_iter()
Any recommendation on how to handle the one for `mut_iter`? It is quite a bit uglier:

    assert_eq!(buf.mut_iter().collect::<Vec<&mut int>>().as_slice(), &[&mut 3, &mut 1, &mut 2]);