Moved DotNetScriptEngine configuration to config file. Added option to share script execution threads between regions.
A separate thread is used to enforce max function (event) execution time for scripts.