Simplify lazy loading in Scala.js env by using encodedName in .sjsinfo.

Instead of inferring the relative path of a Scala.js-emitted file
wrt to the directories in the class path, we simply store the
encoded name of the class in the .sjsinfo, and use that information.
It is simpler and more reliable.
Emit call graph information in .sjsinfo, for upcoming dce.

No dce is actually performed yet. This commit only emits the
necessary information.