Fix broken dependencies and missing files for debian builds

Add forgotten files to MANIFEST and fix missing workflow xml
Change YAML dependency to libyaml-libyaml-perl
Make RevokeCertificate Activity more generic and rename it.
Use a literal as watchdog empty key

This is required as Oracle is unable to use null and empty values
Fix very strange issue in NICE regarding while loop

Walking thru a hash using each stopped working without reason?
Replaces the while loops with foreach