Also adds some testcases for swap using con_id. Fixes #2895
This patch introduces a new command 'swap' that swaps two containers so that they assume each other's position and geometry. fixes #917