Refactor: libcrmcommon,libpe_rules: move attribute evaluation to libcrmcommon
Move the functionality of peeval_attr_expr(), including static functions it
calls, to a new function pcmkevaluate_attr_expression() in libcrmcommon.
The new function uses pcmk_rule_input_t instead of pe_rule_eval_data_t, and
returns a standard code instead of gboolean. The old function is kept (for now)
as a wrapper that maps the old struct to the new.
No code changes other than the minimum necessary to use the new struct and
return value.