Make focus helpers available
These functions are very useful in implementing common cases for focus handling in composite widgets. libadwaita and a few other places are copying them now. We might as well make them available and make everybody's life easier.