Fix #481: Fix relativize to also work with non-prefix bases
Fix #478: Make optimize tasks honor relativeSourceMaps
Fix #482: Source map patchings for scalajs-corejslib.js