Add rotate, partition, and friends to vectors

Propose to add rotate, is_partitioned, partition, and partition_stable to vectors. All methods act like STL functions of the same name, but they work on vectors, instead of iterators.