Replacing vector clear() with swap() such that memory is freed when cleaning mesh topology connections.
Merge branch 'mikael-mortensen/swap4clear-connectivity'