SI-8553 WrappedArray throws exception on lastIndexWhere when index out of range

Adds a check in `IndexedSeqOptimized#lastIndexWhere(A => Boolean, Int)`
to begin searching in the end of the collection if `end` is greater than
the collection's length.

Discussed in
https://groups.google.com/d/topic/scala-internals/-MacXivbY0Q/discussion.
SI-5905 Clarify test case

The language feature options are discovered reflectively, but it
is nice to enforce that expected options are supplied.

Short of that, the code string includes a rowdy postfix operator.

It still does enforce that at least one option was discovered.
SI-8503 Clean up interpolation of help message

We have interpolation now. This commit also moves an extra blank
line from the end to the middle of the message.
SI-8596 Fix rangepos crasher with defaults, poly methods

Regressed in SI-7915 / 3009a525b5

We should be deriving the position of the synthetic `Select`
from `basefun1`, rather than `basefun`. In the new, enclosed
test, the difference amounts to:

    new Container().typeParamAndDefaultArg[Any]()
    `------------ basefun1 --------------'
    `----------------- basefun ---------------'

For monomorphic methods, these are one and the same, which is
why `presentation/t7915` was working. I've extended that test
to a polymorphic method to check that hyperlink resolution works.
SI-8503 -version is info setting

And the Scala runner exits with 0 for info settings.

Producing the version string is consolidated.

The compiler driver uses the default settings hook to
short-circuit on -version.  That's to avoid creating
the compiler; really it should check shouldStopWithInfo
first, as the runner does.
Merge pull request #3799 from retronym/topic/8596-2.10

SI-8596 Fix rangepos crasher with defaults, poly methods
Add documentation to parts of scala.concurrent.
Fix emitting Array(1).clone() in GenBCode
Merge remote-tracking branch 'origin/2.10.x' into merge/2.10.x-to-2.11.x-20140604

Conflicts:
	src/compiler/scala/tools/nsc/typechecker/NamesDefaults.scala
Merge pull request #3743 from ruippeixotog/issue/8553

SI-8553 WrappedArray throws exception on lastIndexWhere when index out of range
Disable OSGi tests under Java 8

I've lodged SI-8642 with more details of the failure to make sure we
get them going again.
Merge pull request #3811 from lrytz/bcode/arrayClone

Fix emitting Array(1).clone() in GenBCode
Java 6-8 agnosticism for a test

Under Java 8, the output contains newly added methods in
j.u.Iterator.

I've created cut down, test-local versions of the relevant types
to decouple.
Support Java 8 in the checkfile for neg/t6289
Merge pull request #3813 from retronym/ticket/8642-disable-osgi-tests

Disable OSGi tests under Java 8
Don't crash on dead code in ICodeReader
Tone down the noise in the output of t7974

This makes it pass under -Ybackend:GenBCode
Make test repl-javap-app independent of precise constant pool indices

Allows the test to pass on both backends
Test: classfile reading during inlining works if there is dead code
Merge pull request #3816 from lrytz/bcode/bugs

Don't crash on dead code in ICodeReader