Scripts in module mode need to be abide by the Same Origin Policy (CORS headers are used to load them)
This can cause issues on some setups.
This commit adds a new "scriptDisableModuleSupport" that can be used to disable the "modules" mode.
Closes#1721
Splitting scripting API doc in 2 docs:
- scripting.md: contains the explaination on how to enable scripting
- api-reference.md: contains the list of all available functions