minor #9201 [ExpressionLanguage] replaced the =~ operator by matches (removed the != operator) (fabpot)

This PR was merged into the master branch.

Discussion
----------

[ExpressionLanguage] replaced the =~ operator by matches (removed the != operator)

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

To be consistent with fabpot/Twig#1209

Commits
-------

4c2d2e2 [ExpressionLanguage] replaced the =~ operator by matches (removed the != operator)
removed obsolete code
[Form] Add a 'submitted' attribute to the form view
feature #9208 [Form] Add a 'submitted' attribute to the form view (egeloen)

This PR was merged into the master branch.

Discussion
----------

[Form] Add a 'submitted' attribute to the form view

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

Basically, the use case of this PR is to determine in the view if a form has been validated by the validator. By default, the valid attribute is true and we can't know if the form has been submitted. Now, we can use `form.vars.submitted && form.vars.valid`.

Commits
-------

a386c74 [Form] Add a 'submitted' attribute to the form view
[Console] fixed tests
fixed some tests
[ExpressionLanguage] fixed typo
Commands can be registered in the DIC
[FrameworkBundle] tweaked console commands registered in the DIC
Fixed typo
Added tests for AddConsoleCommandPass
Added test for application
Added test for Bundle