major update to integrate Medium.js and get basic draft-saving working

unfortunately, I also did a namespace rename at the same time, so the
incremental changes are lost.  that wasn't intentional, but it's not worth
the effort to pull it back out again