fix head detection for adjacent heads of too different sizes and window placement based on apps file
fix head detection for adjacent heads of too different sizes and window placement based on apps file

* if you have e.g a 1920x1200 monitor and a small 800x600 monitor to the
  right of the bigger one and a small window at the right side of the
  big monitor (but still the whole window area at the big monitor) then
  the original head detection would claim the window is on the small
  monitor because (800/2+windowWidth/2 < 1920/2+windowWidth/2) is true
  for small windows; but that is obviously wrong, the window is entirely
  on the big monitor
* these incorrect head detections did lead to incorrect window
  placements as they were required in the apps file

olivergondza/fluxbox,Arkq/fluxbox,naimdjon/fluxbox,luebking/fluxbox,lukoko/fluxbox,luebking/fluxbox,naimdjon/fluxbox,luebking/fluxbox,lukoko/fluxbox,lukoko/fluxbox,naimdjon/fluxbox,luebking/fluxbox,Arkq/fluxbox,Arkq/fluxbox,lukoko/fluxbox,Arkq/fluxbox,olivergondza/fluxbox,olivergondza/fluxbox,lukoko/fluxbox,olivergondza/fluxbox,naimdjon/fluxbox,luebking/fluxbox,naimdjon/fluxbox,Arkq/fluxbox,olivergondza/fluxbox