Add monitor detection support for Xinerama

Due to unfortunate interactions between the wonder that is fglrx, OpenCL, and Xmonad, I'm forced to use Xinerama. As it is nothing using GLFW will run for me. This patch adds the basic monitor detection so at least the test windows open for me (although I think a few other parts might not behave correctly)