Refactor client removal a bit

This is mainly so setting the border etc isn't done when a client is
closing, and has the added benefit of giving the functions better names
Set tile screen and desktop when added to a new Layout

This allows clients to be tiled after moving to a new screen
Get correct desktop in resizeScreen

The desktop number in tiling.js is zero-based

This is an inconsistency that should be fixed, btw
Add debug messages to Tiling
Minor fixes in Tiling

Mainly: Don't try adding a tile to its index if that index is larger
than what we have.

Also: Don't set tileIndex twice
When a client (un)maximizes before we have a rect, set it to screen

This means we can get maximized state before setGeometry is called.
Add a comment in tilelist to help fight confusion

Really, naming isn't my strength