Refactor: libcib: Add new private versions of some attr functions.
These functions take a pcmk__output_t for output and return standard
pacemaker return codes. The public versions of these functions simply
wrap the private ones, construct the output object, and translate the
return code.
Only those functions that do output have been modified.