Low: libcrmcommon: handle NULL attribute manager IPC API connections consistently
Previously, all attribute manager IPC APIs except pcmk__attrd_api_query() would
create a temporary connection if passed a NULL argument for one. Now,
connect_and_send_attrd_request() does this itself, reducing code duplication and
making the handling consistent across all APIs.