Experimental Mir support backend

This adds the option for GLFW_USE_MIR. Which will then use the Mir backend. There are still a few functions that Mir does not support. When those land new patches will come!

Very few things needed to change outside of the backend it self to land Mir support thanks to jadahl. Whats not supported: Clipboard, cursors, WM functions (such as show/hide, set title, set window pos, etc), Gamma. Everything else should be supported! (Unless I missed something in the unsupported list!).

To test, it'll be easier if you're on the laster ubuntu version (14.10). Though 14.04 should work here as well.

You'll want mir-demos from main. (sudo apt-get install mir-demos)
Move to a tty(1)
sudo mir_demo_server_shell

Move to a different tty(2)
sudo chmod 777 /tmp/mir_server
export MIR_SOCKET=/tmp/mir_server

To test the server is working:
mir_demo_client_eglplasma (q to quit)

From here, you can compile glfw with -DGLFW_USE_MIR=1 and test out the examples!

If you want to build mir from source, just send me an email and I can help with that!
In X it's button8