detect unused attrs in one more place, allow parsing to continue for all

changed a bunch of fatal()'s into err()'s, to allow parsing to proceed.

typo in span_err, merge with other

move attr parsing to allow better error recovery
added rename, mark, and resolve fold fns
starting to add sexp (now rotted, sigh)
tmp