Improved and fixed the EGL context creation

- add missing eglCheck (EGL error macro)
- usage of the shared context
- intialize and terminate the EGL display properly
Fixed a header inclusion conflict
Fixed copy texture to image method
CMake uses OpenGL ES if needed or an emulator if explicitly asked
Corrected a mispelled library name in FindGLES.cmake
Update the Android port to the main branch
Forgot to prevent not ported yet modules from being compiled
Fixed main module cmake script to compile properly on Android