librustc: Don't allow duplicate methods on a trait.
librustc: Don't allow duplicate methods on impls.
Add tests for duplicate methods on traits/impls.
auto merge of #7064 : luqmana/rust/issue-7062, r=graydon

Fixes #7062