Update documentation for Scala.js v0.4.
Merge pull request #31 from sjrd/v0.4

Update documentation for Scala.js v0.4.
Add doc of the compilation and optimization pipeline.