Added new ErrorMessage signal 
AddTransaction will send ErrorMessage if pkg_id cant be resolved to a package object
return error from AddTransaction
Added ExpireCache API to reset dnf metadata cache
make the test framework handle signals better