Backport (#517) Fix #426: Cross-compile the compiler with full Scala version.

Because the Scala compiler API is not binary compatible between
minor versions, compiler plugins should be cross-compiled
against the full Scala version (not the binary Scala version).

(cherry picked from commit f85473f6050f347eda4c8dda6692401c4e375d71)
Backport (#517) Remove dependency on lift-json. Introduce JSON helpers

(cherry picked from commit b1c8c857745a575dca8ff64e92edd65fe51eb70c)

Conflicts:
	project/ScalaJSBuild.scala
	tools/src/main/scala/scala/scalajs/tools/classpath/ScalaJSPackedClasspath.scala
Backport (#517) Add scala 2.11.0-final, remove all milestones and RCs

(cherry picked from commit 9dc1e07cb5bb48d0b72836f9696493169fcd4c19)

Conflicts:
	partest-suite/src/test/resources/scala/tools/partest/scalajs/2.11.0-M7/BlacklistedTests.txt
	partest-suite/src/test/resources/scala/tools/partest/scalajs/2.11.0-M7/WhitelistedTests.txt
	partest-suite/src/test/resources/scala/tools/partest/scalajs/2.11.0-M8/BlacklistedTests.txt
	partest-suite/src/test/resources/scala/tools/partest/scalajs/2.11.0-M8/WhitelistedTests.txt
	partest-suite/src/test/resources/scala/tools/partest/scalajs/2.11.0-RC3/BlacklistedTests.txt
	partest-suite/src/test/resources/scala/tools/partest/scalajs/2.11.0-RC3/WhitelistedTests.txt
Backport (#517) Fix #495: Bump versions

- Use 2.10.4 to compile 2.10 libs and sbt-plugin
- Make 2.11.0 the default
- Compile & publish tools for 2.11

(cherry picked from commit 8898427a667fe9a1ff177fc65bc398b46aa508ec)

Conflicts:
	.travis.yml
Backport (#517) Improve positions of some class definitions.

(cherry picked from commit 9bc988f47d0d98a83dc6d6d4c1232a6490d481a1)

Conflicts:

	compiler/src/main/scala/scala/scalajs/compiler/GenJSCode.scala
Backport (#517) Update HTML files of examples for 2.11.0.

(cherry picked from commit 7ad12f2cd13e389e870d6a166cac6e2cf57dfb7d)
Backport (#517) Fix #504: Fix typo in java.lang.Class (getSuperClass -> getSuperclass)

(cherry picked from commit ff7e2174e8eba72858d6702e645f12193b7dd243)
Backport (#517) Fix #505: Implement StringBuilder(Buffer).setCharAt

(cherry picked from commit a3f04d8bbc06053008df672acd1b920116bf755e)
Backport (#517) Minor cleanup (unneeded parens and braces)

(cherry picked from commit 69137ba177160f613da83ff0c772bc8d87487eb3)
Merge pull request #523 from gzm0/backports

Backports to v0.4.x (#517) until 0640376e68a3947f0c2b82e877bdce9fa2735169