bugfix `handle-resource-update` to handle attrib diffing & replacing,
replace DOS line endings, add utils ns

also extract `resource-uri` from `resource-link`, move to model ns