Test: libcrmcommon: Test pcmk__parse_bool() more thoroughly
Functionize the repeated code, test everything with both true and false
as the initial value of result, test everything with NULL result
argument, and ensure result is not changed upon error.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>