save sanity.check failures to couchdb state doc

modified:   lib/vds.processing.functions.R
modified:   lib/vds_impute.R