core: failCanDoAction method with variable replacements

CommandBase#failCanDoAction can now get additional variable
replacements. That way we don't need to call AddCanDoActionMessage
only to set the variable replacements.

Change-Id: I57dc350f507db43db2ddd47e835eca67ea96b4ed
Signed-off-by: Arik Hadas <ahadas@redhat.com>