[vector-api] Miscellaneous vector fixes

A collection of minor fixes implemented while working on `ol.format.KML` (#1384).