Refactor: libcrmcommon: clarify pointer arguments
Mark pointer arguments as const where appropriate, and ensure
doxygen blocks use [in] or [in,out] as appropriate.
This is not comprehensive but takes care of internal APIs used by daemons
and the functions down the call chain from them.