Update regrettable.coffee

Added hasRedo and hasUndo