Delete cruft, simplify directory structure.
Remove duplication in license/copyright.
Commented stuff carried over from old version.
Generic.settings: mappings for bin/, lib/, doc/ and man/

A Scala distribution is fully determined by the contents and dependencies of
the maven artifact "org.scala-lang" % "scala-dist" % version.value.

The contents of scala-dist itself is extracted to populate bin/, doc/ and man/.
The (transitive) dependencies populate the lib/ folder.

This configures sbt native packager's Universal config.

The next commit will take the jars under the javadoc classifier and extract/move
them to api/ to provide settings for the packager's UniversalDocs config.
Docs.settings: mappings for the api/ directory.

All dependencies of scala-dist under the javadoc classifier are included as
"api/jars/$artifactId-$version-javadoc.jar".

The core jars are also expanded under api/scala-{library|reflect|compiler}.

Also make constructing mappings reusable.

Needed to use updateClassifiers to get -javadoc artifacts,
don't seem to need to include the javadoc classifier in the scala-dist config.
Wix.settings: mappings for creating the MSI.

Takes the result of staging universal and universal-docs,
and creates a WIX xml description for `packageBin in Windows`
to be able to create an MSI.

We no longer distributing examples, and link to GitHub for sources.

As .bat files are published to maven using the windows line endings,
no need to convert.

PS: Would've called in Windows.settings, but that clashes with the
packager's Windows config object.
Derive version from git tag.

The version of this build determines the Scala version to package.
We look at the closest git tag that matches v[0-9].* to derive it.
For testing, the version may be overridden with -Dproject.version=...
Create debian & rpm packages.

`debian:packageBin` and `rpm:packageBin` create `scala-$version.[deb|rpm]` in `target/`

- subdirs not requiring special treatment are rooted under `installTargetUnix.value`
- docs go to `installTargetUnixDocs.value`
- create symlinks under /usr/bin/ for all scripts in `installTargetUnix.value / "bin"`
- make scripts in `installTargetUnix.value / "bin"` executable, drop ".bat" files
- map man to /usr/share/man/
- map doc to `installTargetUnixDocs.value`
- map api to `installTargetUnixDocs.value / "api"`
Standardize msi's name.
Discontinue packaging of tool-support.

Hopefully someone will take over maintenance, or we will when demand arises.
s3-upload support, and cleanup

Only load Wix settings when on Windows,
do the rest of the work when not running on windows
(packageBin in universal, universal-docs, debian, rpm)
Update README.
Split out versioning.

The windows version is used for the unix versions,
so can't have its computation only run when running on windows.
Review feedback. Unix mappings don't depend on stage.

Because we no longer need to patch the scripts (as we gave Scala proper home,
rather than plopping all the jars in /usr/share/java).
Clean up windows version computation.
Merge pull request #120 from adriaanm/dist-smplfy-211

Drastically simplify distribution building for 2.11.