Add egl capabilities to compositor

This PR aims for integration of EGL capablities to the compositor.
Targets #15.

I'll probably discuss a lot of stuff (e.g. with @TheNeikos) while implementing this, so this PR may progress quite slowly.
typo.