rename ContentMap to ContentTopology; move related methods to this class

All methods that are related to the topology of content boxes, and that
were duplicated several times were moved to the ContentTopology class.

Signed-off-by: Florian Thienel <florian@thienel.org>
11 files changed