Refactor: libraries: Warn for deprecated master role usage.
The change in rules.c is necessary for handling rules, while the change
in roles.c appears to take care of all other potential uses -
target-role, op, rsc_location, rsc_colocation, and resource_set. In
both cases, we just log a warning on the first usage and tell the user
what they should do instead.
Ref T787