Remove references to QtOpenGL in editor and qtcore.

We should be able to compile yggdrasil without opengl if using an adequate plugin.
Add options to compile each part of yggdrasil, and fix the main executable.

Signed-off-by: Guillaume Clement <gclement@baobob.org>