Fix binaryScalaJSVersion.
Merge pull request #576 from sjrd/fix-binaryscalajsversion

Fix binaryScalaJSVersion.
Fix #577: Make (5L: Any).getClass return java.lang.Long.
Merge pull request #578 from sjrd/fix-long-getclass

Fix #577: Make (5L: Any).getClass return java.lang.Long.
Fix #571: Fix line offset when lazy-loading files in Rhino
Fix #581: Fix off-by-1 errors in SourceMapper
Merge pull request #582 from gzm0/fix-source-map

Fix source map
Fix #580: Catch exceptions that escape JS test framework in test bridge
Merge pull request #583 from gzm0/failsafe-test-bridge

Fix #580: Catch exceptions that escape JS test framework in test bridge
Fix #575: Add Scala.js magic number and version to IR binary format
Add JS dependency tracking via manifests.

A JS_DEPENDENCIES manifest file is added to each configuration
classpath and exported in JARs. This way, libraries may declare what
exact JS files should be included from a WebJar they depend on. (Or
what JS files they provide themselves should be included).

Example usages can be found in the build definitions for the
jasmine-test-framework and the testing example.

- This completely removes `importScripts` and fixes #457
- The project's classpath is fully available even in the post package
  stages. This is necessary to allow for discovery of dependency
  manifests and JS libraries the project depends on.
Merge pull request #584 from gzm0/ir-version

Fix #575: Add Scala.js magic number and version to IR binary format
Merge pull request #579 from gzm0/js-deps

Add JS dependency tracking via manifests.
Fix #565: Move corejslib.js as a resource for the tools.

This simplifies the tools API.
Add full support for projects requiring DOM

- Fix #442: Add Phantom.js environment
- Add a setting whether a project requires the DOM
Send printlns to the console, not the logger.
Merge pull request #586 from sjrd/move-corejslib

Fix #565: Move corejslib.js as a resource for the tools.
Merge pull request #585 from gzm0/phantom-js

Add full support for projects requiring DOM
Merge pull request #587 from sjrd/fix-console-log-output

Send printlns to the console, not the logger.
Version 0.5.0-M1.