Add basic support for -Ydelambdafy:method.

This implementation does not take advantage of
specialization.