Refactor optimizer to allow for arbitrary builders
Add direct Closure optimization (converts Scala.js IR to Closure IR)
Integrate direct Closure optimization with sbt plugin

This fixes #949
Add direct optimization support to partest
Add direct optimization support to Scalajsd
Merge pull request #972 from gzm0/closure-source-map

Closure source map