[OptionsResolver] Choose policy on unknown options

Hi,

This commit adds the possibility to choose a policy on unknown options :
- required : like before, throw exception (default to keep BC)
- remove : remove options and do not throw exception
- ignore : keep options and do not throw exception

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | yes
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #7979
| License       | MIT
| Doc PR        |