Cleanup Linker / Optimizer

It seems that this calls for a method `genExportedMember` in `ScalaJSClassEmitter`.