provision/docker: using tsuru errors package
app: run serializeEnvVars as a sync operation in env-set. Fixes #820