added some automated tests
added cid, removed undo tests

cid doesn't do transforms for overlapping inserts. i'm not sure
that comes up often
require xml libs explicitly
switch to other xml parse function
started work on undo
added xml libs