Make getNode function public

The getNode function should be public so that DomElement objects can be accessed directly if need be.
[Process] Added ProcessBuilder::addEnvironmentVariables
[Yaml] Fixed filename in the ParseException message
[Translation] Added support for JSON format (both loader and dumper).
[Security] fix typo
[Security] remove unused logger
merged branch Tobion/security-fix-typo (PR #9069)

This PR was merged into the 2.2 branch.

Discussion
----------

[Security] fix typo and remove unused logger

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

Commits
-------

a33cc51 [Security] remove unused logger
62de9c1 [Security] fix typo
merged branch unkind/bugfix-yaml-parse-exception (PR #8897)

This PR was merged into the 2.2 branch.

Discussion
----------

[Yaml] Fixed filename in the ParseException message

| Q             | A
| ------------- | ---
| Bug fix?      | sort of
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | —
| License       | MIT
| Doc PR        | —

Yaml component throws an exception with corrupt filename because of `json_encode`:

```
[Symfony\Component\Yaml\Exception\ParseException]
A YAML file cannot contain tabs as indentation in "\/var\/www\/app\/config.yml" at line 42 (near "	foo: bar").
```

Commits
-------

da44651 [Yaml] Fixed filename in the ParseException message
[Yaml] reverted previous merge partially (refs #8897)
fixed PHP 5.3 compatibility
[DomCrawler]Crawler guess charset from html
merged branch bronze1man/pr-2.2-crawler (PR #9074)

This PR was squashed before being merged into the 2.2 branch (closes #9074).

Discussion
----------

[DomCrawler]Crawler guess charset from html

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |  #9061
| License       | MIT
| Doc PR        | n/a

Commits
-------

e5282e8 [DomCrawler]Crawler guess charset from html
use "translator" alias not "translator.default"
[ExpressionLanguage] made ExpressionLanguage::parse return an ParsedExpression instance
[ExpressionLanguage] optimized serialization of nodes and expressions
[ExpressionLanguage] renamed addFunction() to register()
merged branch tecbot/patch-1 (PR #9092)

This PR was merged into the master branch.

Discussion
----------

use "translator" alias not "translator.default"

Validator is the only instance which references to the "translator.default" service. It should reference to the "translator" service so the validator can use a custom validator if the user overwrites the "translator" alias.

Commits
-------

9e38819 use "translator" alias not "translator.default"
merged branch fabpot/expression-language-tweaks (PR #9091)

This PR was merged into the master branch.

Discussion
----------

[ExpressionLanguage] made minor tweaks

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #9087
| License       | MIT
| Doc PR        | n/a

 * made ExpressionLanguage::parse return an ParsedExpression instance
 * optimized the size of the serialization of expressions

Commits
-------

e869136 [ExpressionLanguage] renamed addFunction() to register()
5076ec7 [ExpressionLanguage] optimized serialization of nodes and expressions
60b9f85 [ExpressionLanguage] made ExpressionLanguage::parse return an ParsedExpression instance
[Yaml] fixed a test on PHP < 5.4
[Yaml] fixed typo