Remove DefDef and check rhs

- lhs pattern matching occurs only for vals.
- def also breaks due to proc notation.
- instead of pretty printing, we can just check rhs.
Merge pull request #1665 from sbt/wip/1662-mod

Remove DefDef and check rhs