Draft Downgrade

This tool downgrades selected objects in different ways, following this list (in order):
 * if there are more than one faces, the subsequent faces are subtracted from the first one
 * if there is only one face, it gets converted into a wire
 * otherwise all wires are exploded into single edges