Test cases for SAM restrictions.

Only one seems to indicate something new:

  ((x: Int) => 0): NonClassType

I believe that we shouldn't pursue SAM translation for that case,
and fallthrough to Function1. That would allow for an implicit view
to finish the job.

(This closes https://github.com/adriaanm/scala/pull/9)