Issue #2120841 by tim.plunkett: Convert form_options_flatten() to a method on FormBuilder.