Mechanism of environment variables checking.

Variables are checking in case if the re is file environment.ini is present.
Variables check while portal starting and before script test.sh processing (if there is corresponding record in test.sh).
If there is no variable or the value do not corresponds to value in file - then the variable rewrites.

To start variables checking while STB starting (befor portal starts), it is necessary to:
- To place file environment.ini in directory /home/web/
- To place file environment.check.sh in directory near file /test.sh
- In file /test.sh to add in the empty row after row "#language - language index (int)":
source /environment.check.sh

To start variables checking while portal starts, it is necessary to:
- uncomment next row in file /home/web/portal/public/services.js :
// checkEnvVars();    // uncomment this function to start environment variables check mechanism
