Fix glossaire (missing folders) and setup (stats files)

**glossaire.sh**
If a folder is missing, all next locales won’t be updated because we’re
in the wrong folder

**setup.sh**
Needs an absolute path for the .json files. Also switch to array
instead of having two identical pieces of code
Merge pull request #351 from flodolo/glossaire_missingfolders

Fix glossaire (missing folders) and setup (stats files)
Issues 305: don't overescape strings at extraction time

* We now only escape single quotes at extractions and leave other special characters alone (&\<>")
* We escape special characters at display time
* Utils::cleanSearch() renamed to Utils::cleanString() and no longer sanitize strings for security (use Utils::secureText())
* Searches for special characters such as &brandshortname; or \ now work, same for API
* Google and Bing links no longer include html entities
Merge pull request #350 from pascalchevrel/issue-305-better_ampersand_escaping

Issues 305: don't overescape strings at extraction time
Issue #352: additional installation checks
* Check that PHP is installed
* Use curl to download data snapshot if wget is not installed
* minor style cleanups
* exit 1 codes + use echored if errors
Merge pull request #353 from pascalchevrel/issue-352-additional_checks_in_dev-setup_script

Issue #352: additional installation checks
Implement Health Status view, fixes #306
Pascal's feedback, perfs improvements
fix tests
Merge pull request #354 from TheoChevalier/health-status-view

Health status view
import VCS classes explicitely (documents the use of a dependency in the model)
copying Project:: in a temp variable is not improving readability
ignore en-US completely
use anonymous function in loop to avoid code repetition (DRY) and suppress temporary  variable
remove unused variables + indentation fixes
ignore entities that are empty in en-US and for the locale too
merge unsets + formatting/comments nits
remove unnecessary unsets + temp variable + comment nit
remove empty entities early in the process, use lambda function for filtering
remove useless temp variable + indenting fix