[OptionsResolver] added ability to allow extra options (closes #7979)