Finished the vector class

This was trickier than anticipated. I'm especially not that happy with the insert (especially range insert) family of functions, but it is not immediately obvious how I can improve upon them (except from removing some code duplication).