[IMP] howto to use request.env instead of old API

Also fix code generated by scaffolding to generate new-API models