add distinctBy method and implement distinct in terms of distinctBy

add distinctBy method to Seq (move it from scala-reflect) and implement distinct in terms of distinctBy

review by @Ichoran