Replace uses of 'lambda' with new stubby syntax

Replace uses of 'lambda' with new "stubby lambda" syntax where possible.