Space/Tab cleanup script - run before committing

Running this script will transform tabs into a pair of spaces and will
eliminate trailing spaces. Use at your own risk!
Add 2 benchmark sources.
Deprecate scala.parallel.Future and privatize a few classes.
Allows now private primary constructors in value classes.
Merge branch 'master' into feature/pc-execution-contexts
Fixed SI-5063.
Clarifying MethodSynthesis.

Tried to paint a picture of how one might synthesize an implicit
method to accompany an implicit class.
Fixed test cases.
Fix for SI-5580.

Lub explosions mean we can't expect sane types in error messages.
Defend against the insane.
Overhaul of JavaConver{sions,ters}.

Initially motivated by SI-5580, then just motivated.  I broke up
the opaquely named JavaConversions and JavaConverters into the following
traits encapsulating some permutation of

  { to java, to scala, bidirectional }
  { wrappers, decorators }

I named everything consistently in terms of either Wrappers
or Decorators.  Decorators install those asJava/asScala methods
onto collections of the right kind; Wrappers hide the process.

JavaConversions then reduces to an object which (ill-advisedly)
extends both WrapAsJava and WrapAsScala.  And JavaConverters is
an object extending DecorateAsScala and DecorateAsJava.  However
other more clearly named vals exist in the newly created
scala.collection.convert package object.

  val decorateAsJava  = new DecorateAsJava { }
  val decorateAsScala = new DecorateAsScala { }
  val decorateAll     = new DecorateAsJava with DecorateAsScala { }
  val wrapAsJava      = new WrapAsJava { }
  val wrapAsScala     = new WrapAsScala { }
  val wrapAll         = new WrapAsJava with WrapAsScala { }

So for instance to import asScala decorators, and only those:

  scala> import scala.collection.convert.decorateAsScala._
  import scala.collection.convert.decorateAsScala._

  scala> new java.util.ArrayList[String].asScala groupBy (x => x)
  res0: scala.collection.immutable.Map[String,scala.collection.mutable.Buffer[String]] = Map()

I propose we put those vals or a subset of them in the scala
package object rather than way down in scala.collection.convert.
Merge branch 'issue/SI-5580' of /scala/trunk into develop
An illustrative delayedInit test.
disable version numbers on windows, they're broken.
Fixes SI-5593

After hours of debugging and understanding all the root causes why
scaladoc is rummaging through the current directory for classes, I
decided to treat the symptoms rather than the cause. I'll document
the decision here in case anyone is interested:
 - in order to find documentable entities, scaladoc exhaustively
looks at all the symbols starting from the root package and going
all the way to the leaves, visiting all classes in the classpath
 - if the classpath is empty, scaladoc and scalac add "." as the
default classpath. This leads to scaladoc going on a class hunting
spree in the current directory. If it happens that the current
directory contains package objects and they're not in the expected
path (like scala.tools.nsc in build/quick/classes/.../nsc) errors
start to pop up
 - scalac is also affected by this, but to a more limited scope,
since it will lazily expand packages whenever necessary. To show
this, run the repl in the root directory of the scala source code,
after compiling scala:

scala> import build.quick.classes.compiler.scala.tools.nsc._
error: error while loading package, class file './build/quick/classes/
compiler/scala/tools/nsc/package.class' contains wrong package package

The cleanest solution I can see now is to look at the tree resulting
from compilation and use it for guidance -- I will look into this.
Merge pull request #311 from lrytz/windowsScripts

disable version numbers on windows, they're broken.
minimalist refactoring to allow annotating trees

not tested for performance, but shouldn't add any memory overhead

see https://github.com/adriaanm/scala/commit/44362c557f for an example usage
Increased the timeout from 5s to 60s to make the presentation compiler shutdown test more resilient on slow machines.
Fixed SI-5599

Eliminated the spurious warnings and made the code easier to follow.
Test case closes SI-4987.
Scaladoc: improved usecases, display full signature. Closes #5291

Makes the full signature of a use case member available, but
still hidden under a drop-down menu.