Don't crash if cpsParam is not on the classpath.

When checking if a piece of code needs the continuations plugin, the cpsParam classes may not be on the class path. Assume it does not need it in that case.
Don't use the BrowsingLoader for Java sources. 

When the presentation compiler needs a SourceLoader, instead of immediately adding the file 
to the compilation round it uses a fast parser to create symbols for all top-level class definitions. 
The fast parser assumes Scala sources, which is not always the case.
Don't require symbols to be loaded in the parser.

The parser special-cases primitive types. For comparing the name, it relied on having the symbols 
for primitive types already loaded, which is not always the case. The presentation compiler 
may parse sources for, say, scala.Int, and therefore the symbol for Int may not be yet available.
Remove NPE when `compileLate` sees sources during initialization.

When a symbol needed in Definitions is loaded, it may be that the corresponding source is newer than
the classfile. That will send it to `compileLate`, but no phase is yet set. We simply add it to the 
compilation pipeline and continue gracefully.
SI-5617 Better error message for "x overrides nothing".

"It looks like you're trying to override a method", notes Clippy.
SI-4989 Reject super.x if an intermediate class declares x abstract.

This is in line with Java's treatment. Without this, an AbstractMethodError
is thrown at runtime.
SI-4842 Forbid access to in-construction this in self-constructor args

The check was already in place for direct calls to the super constructor.
Without this additional check, ExplicitOuter crashes, as it doesn't create
an $outer pointer for the constructor-arg scoped inner object, but expects
one to exist when transforming the Outer.this reference.
Updated scalacheck sources.

To current scalacheck head 7ffda752d8 except for this diff:

diff -rw src/scalacheck/org/scalacheck/Arbitrary.scala /s/scalacheck/src/main/scala/org/scalacheck/Arbitrary.scala
13d12
< import scala.reflect.ClassTag
281c280
<   implicit def arbArray[T](implicit a: Arbitrary[T], c: ClassTag[T]
---
>   implicit def arbArray[T](implicit a: Arbitrary[T], c: ClassManifest[T]
diff -rw src/scalacheck/org/scalacheck/Prop.scala /s/scalacheck/src/main/scala/org/scalacheck/Prop.scala
63c63
<   def mainCallsExit = false
---
>   def mainCallsExit = true
Only in /s/scalacheck/src/main/scala/org/scalacheck: ScalaCheckFramework.scala
diff -rw src/scalacheck/org/scalacheck/util/Buildable.scala /s/scalacheck/src/main/scala/org/scalacheck/util/Buildable.scala
13d12
< import scala.reflect.ClassTag
34c33
<   implicit def buildableArray[T](implicit cm: ClassTag[T]) =
---
>   implicit def buildableArray[T](implicit cm: ClassManifest[T]) =
adds `narrow` to the reflection API

as per https://issues.scala-lang.org/browse/SI-5951
SI-2807 Resurrect and refine the promiscuous catch warning.

The previous incarnation didn't survive 4fb3473.

This version can be cleared by using a typed pattern: `catch { case _: Throwable => }`.

This is motivated by the recent appearance of such a catch in `util.Try`, and by battle
scars left by one too many processes bravely but stupidly catching and logging OutOfMemoryErrors.

-Y status has been skipped: this warning is enabled by default and can only be silenced
with use of a typed pattern.
Making Actor Migration Tests deterministic.

Review by: @phaller
removes pre-M4 compatibility stubs for the IDE
Fix SI-5284.

The problem was the false assumption that methods specialized
on their type parameter, such as this one:

    class Foo[@spec(Int) T](val x: T) {
      def bar[@spec(Int) S >: T](f: S => S) = f(x)
    }

have their normalized versions (`bar$mIc$sp`) never called
from the base specialization class `Foo`.
This meant that the implementation of `bar$mIc$sp` in `Foo`
simply threw an exception.

This assumption is not true, however. See this:

    object Baz {
      def apply[T]() = new Foo[T]
    }

Calling `Baz.apply[Int]()` will create an instance of the
base specialization class `Foo` at `Int`.
Calling `bar` on this instance will be rewritten by
specialization to calling `bar$mIc$sp`, hence the error.

So, we have to emit a valid implementation for `bar`,
obviously.
Problem is, such an implementation would have conflicting
type bounds in the base specialization class `Foo`, since
we don't know if `T` is a subtype of `S = Int`.
In other words, we cannot emit:

    def bar$mIc$sp(f: Int => Int) = f(x) // x: T

without typechecking errors.

However, notice that the bounds are valid if and only if
`T = Int`. In the same time, invocations of `bar$mIc$sp` will only
be emitted in callsites where the type bounds hold.
This means we can cast the expressions in method applications
to the required specialized type bound.

The following changes have been made:
1) The decision of whether or not to create a normalized
version of the specialized method is not done on the
`conflicting` relation anymore.
Instead, it's done based on the `satisfiable` relation,
which is true if there is possibly an instantiation of
the type parameters where the bounds hold.
2) The `satisfiable` method has a new variant called
`satisfiableConstraints`, which does unification to
figure out how the type parameters should be instantiated
in order to satisfy the bounds.
3) The `Duplicators` are changed to transform a tree
using the `castType` method which just returns the tree
by default.
In specialization, the `castType` in `Duplicators` is overridden,
and uses a map from type parameters to types.
This map is obtained by `satisfiableConstraints` from 2).
If the type of the expression is not equal to the expected type,
and this map contains a mapping to the expected type, then
the tree is cast, as discussed above.

Additional tests added.

Review by @dragos
Review by @VladUreche

Conflicts:

	src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala
	src/compiler/scala/tools/nsc/typechecker/Duplicators.scala
Merge pull request #711 from dragos/issue/no-crash-missing-cpsParam

Don't crash if cpsParam is not on the classpath.
Merge pull request #731 from retronym/ticket/5617

SI-5617 Better error message for "x overrides nothing".
Merge pull request #735 from retronym/ticket/4842-2

SI-4842 Forbid access to in-construction this in self-constructor args
Merge pull request #748 from jsuereth/update-scalacheck-source

Updated scalacheck sources.
Merge pull request #753 from vjovanov/actor-tests-fix

Making Actor Migration Tests deterministic.
Fix SI-4809.
Merge pull request #712 from dragos/issue/hardening-compiling-with-newer-sources

Issue/hardening compiling with newer sources