Implement resize for Vec

This PR adds `resize()` to `Vec` in accordance with RFC 509.
So my brain is apparently just turned completely off right now...doesn't `repeat` yield the same value endlessly?  How would you limit `extend` to only add the proper number of elements?