Move Client::layer() to Toplevel
This allows to copy the layer to the deleted window in order to keep the deleted window in the same layer.
Additionally a new layer is added for unmanaged windows.