Refactor: Core: A faster and more consistant digest function
Combine the filtering and dumping stages when creating the input for
crm_md5sum(). xmlNodeDump() was sometimes super fast (<1s) but other
times super slow (4s or so) for the same input.