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 
right, will add a test for it as well