Add missing .gitignore bits for EGL
Pull a helper function from piglit.

I need this for doing testing against core contexts.
Add a new test for our public API against a core context.

Our extension detection for core is totally broken.
Fix extension detection on core GL contexts.

The nasty old strings were deprecated.