Refactor: scheduler: best practices for group_rsc_location()
Rename group_rsc_location() to pcmk__group_apply_location(), declare it in
library-private header, add a doxygen block, use bool instead of gboolean,
and improve argument validation, log messages, comments, variable names, and
formatting.