[OptionsResolver] Implemented policies for treating unknown/missing options

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