Revert "merged branch mvrhov/patch-1 (PR #4975)"

This reverts commit 407246a1da3b71ca548d00a51d1e5798b69feb8f, reversing
changes made to 3841d1c6d73eb9cc222867ac2bc047d6518d942e.
[Security] added more info about the BCrypt change (refs #7853)
[Security] added an exception when the BCrypt encoder cannot be used (refs #7853)
fixed a test on windows
merged branch bamarni/windows-test (PR #7858)

This PR was merged into the master branch.

Discussion
----------

fixed a test on windows

Commits
-------

6f7e35e fixed a test on windows
Truly disabled profiler in prod
[FrameworkBundle] added a way to disable the profiler

Before:

  enabled: true  # the profiler is enabled and data are collected

  enabled: false # the profiler is enabled but data are not collected (data can be collected on demand)

  No way to disable the profiler

After:

  enabled: true  # the profiler is enabled and data are collected
  collect: true

  enabled: true  # the profiler is enabled but data are not collected (data can be collected on demand)
  collect: false

  enabled: false # the profiler is disabled
fixed the registration of the web profiler when the profiler is disabled
merged branch fabpot/profiler-activation (PR #7859)

This PR was merged into the master branch.

Discussion
----------

Profiler activation

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

As stated in #7071, there is no way to disable the profiler completely. Even when the `enabled` flag is set to `false`, the profiler is still registered but the data collectors are not activated.

Now, when `enabled` is `false`, the profiler is disabled. To get the old `false` behavior, you now need to set `enabled` to `true` and set the new `collect` flag to `false`.

Todo:

 - [x] update docs
 - [x] update Symfony SE -- not needed

Commits
-------

88ebd62 fixed the registration of the web profiler when the profiler is disabled
a11f901 [FrameworkBundle] added a way to disable the profiler
f675dd8 Truly disabled profiler in prod
First implementation of lazy services via proxy manager
Adding basic logic to generate proxy instantiation into a php dumped container
Compiling proxies into the generated DIC file
Upgrading dependency to ProxyManager 0.3.*
Suggesting ProxyManager in composer.json, removing useless calls
Adding failing test to demonstrate that proxy initialization breaks shared services
Fixing shared service instance
Sharing services in the container should only happen when proxying failed
Adding tests for proxy sharing within dumped containers
Fixing shared proxies into the container
Bumping required version of ProxyManager