Implement resize for Vec

This PR adds `resize()` to `Vec` in accordance with RFC 509.
Ah, sorry, I just copied that straight from the RFC :P