vector fixes and simplifications

Also contains a CMake subtree update. Interesting is https://github.com/Eyescale/vmmlib/pull/new/master#diff-13