feature(CommandStack): add #canUndo(), #canRedo() to public API