Changed template.output function to tostring values that are not srtrings or functions (or nil or ngx.null).
Merge remote-tracking branch 'origin/master'