[2.7] adds deprecation notices.

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

This is a major BC break for 3.0... Shall we trigger the deprecation notice and say that `from 3.0, the OptionsResolverInterface will be dropped in favor of the OptionsResolver implementation only.`?