Add support for testing on fbdev

Add command-line option to choose between testing on wayland (```EGL_PLATFORM=wayland```) and fbdev (```EGL_PLATFORM=fbdev```) and necessary context setup/teardown code.