Merged Tesseract until SDL2 merge, welcome back cubescript

Tesseract is now merged to the point right before SDL2. Cubescript is reintegrated back into the codebase, handling shaders, console and later a few other things. Remove some old APIs (e.g. shader API) from Lua that are handled by cubescript now.