SI-7344 Specialize methods in private scopes

This performs method specialization inside a scope other than a {class,
trait, object}: could be another method or a value. This specialization
is much simpler, since there is no need to record the new members in
the class signature, their signatures are only visible locally.
It works according to the usual logic:
 - we use normalizeMember to create the specialized symbols
 - we leave DefDef stubs in the tree that are later filled in by tree
duplication and adaptation

The solution is limited by SI-7579: since the duplicator loses the sym
annotations when duplicating, this expansion and rewiring can only take
place in code that has not been subject to duplication. You can see the
test case for an example.

Review by @dragos, @paulp or @axel22.
Merge pull request #2683 from VladUreche/issue/7344-master

SI-7344 Specialize methods in private scopes
Merge 2.10.x into master.

Conflicts:
	src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala
	src/compiler/scala/tools/nsc/typechecker/Duplicators.scala
	src/compiler/scala/tools/nsc/typechecker/Namers.scala
	src/library/scala/concurrent/Future.scala
	src/partest/scala/tools/partest/PartestTask.scala
	test/files/jvm/scala-concurrent-tck.scala