pure command manager (work-in-progress)

I'm merging in some work I started on a pure dart `_CommandManager` class.  This isn't finished but I don't have time at present to continue working on it, so I am checking it in as-is.  The `ace.pure` implementation should not be in use yet so there is no harm in this.