still needs testing as things got shaked quite a bit
now stabilizing this branch and then merge into trunk
Conflicts:
src/gl_screen.cpp
src/include/factory.h
src/include/freeframe_freej.h
src/include/frei0r_freej.h
src/kbd_ctrl_js.cpp
src/layer.cpp
src/mouse_ctrl.cpp
now screens are also present in JS
still tasks pending:
backwards compatibility with scripts
resolution of multiple screens in startup/reset logic
testing
testing that multiple scripts can be included from a main one
removed js garbage collection in controllers (was called after script load)
included JSON as a standard library (it works!)
modified example scripts to avoid namespace clash