keyboard: unify `standard_edit_box` and `custom_edit_box`

The redundant design here seemed awkward when I was thinking about how
to implement support for displaying multiple conflicts as needed by
GNOME/gnome-control-center!776
and GNOME/gnome-control-center#1041.

This should be more maintainable.
9 jobs for edit-box-unify in 7 minutes and 5 seconds