introduce the global JXG variable only in loadjsxgraph.js and the build configurations
extend core build config for nodejs
bugfix abstractrenderer for nodejs
bugfix JXG.supportsCanvas() and JXG.CanvasRenderer to use module.require() instead of require() which is overwritten by almondjs