refactor EGL source code

no changes is functionality. split various objects into their own files.
make egl_display objec's lock internal.
15 files changed