Add support to build with X framebuffer for testing.

This change builds with a X pseudo framebuffer for testing.  To
include the X support set the environment variable NETSURF_X_SURFACE
when building.
Merge remote-tracking branch 'origin/master'