Converted examples to use MacroGL entites

Converted the back ends examples to use MacroGL entites instead of raw OpenGL when possible and added an util to load several text files in one time (already possible to do with base text resource utility, but painful).
This should also be `private[macrogl]`. Also, move private field declarations to the top of the class definition.