add `doc/design.md`

derived from a blog post I made when I first released undone.  This
isn't exactly a formal design document, but it may be helpful to users
to read.