tidy up deprecate.js
move vendors and namespaces into environment.js
separate Ractive config from "project" config (type codes, errors) and environment