edges: do something clever with xinerama

This is useful now that X actually constrains the cursor to visible
areas of the screen, so you have a chance of hitting edges and possibly
corners too. More cleverness is possible, should not map edges where
there is a screen on both sides probably.
Handle edges in window.c
edges should hook into number of screens changing, but for now, don't crash at reconfigure/shutdown if they did