Feature: libcrmcommon: new function for processing xpath search results
This adds crm_foreach_xpath_result(), which runs an xpath search
and calls a supplied function for each search result.
The new function is not used yet, but will come in handy when refreshing
the remote node cache, among other places.