refactor: Move the content of HistoryCommand._hcmd_undo to BaseCli.history_undo_transaction.
refactor: Rename Base.history_undo to Base.history_undo_operations.
refactor: Move the content of HistoryCommand._hcmd_rollback to BaseCli.history_rollback_transaction.
Fix AttributeError raised when BaseCli.history_rollback_transaction called.