Detect errors in scriplet executions to fix #42
Fix spurious warnings.

If we pass an undefined stdin to the CAF::Process the reporting logic
will raise warnigns about uninitialised values.
Merge pull request #45 from piojo/spma-diagnose-errors

Better diagnostics of Yum errors