libstd: Implement some convenience methods on new vectors

r? @brson