Make the path of the output of optimizeJS configurable.

Exactly in the same way that paths of the outputs of
packageXyzJS are configurable, i.e., through
(moduleName in optimizeJS), (crossTarget in optimizeJS) and
(artifactPath in optimizeJS).
Fix #204: Restrict ancestors of classes extending js.Any
Merge pull request #208 from sjrd/customize-opt-js-output

Make the path of the output of optimizeJS configurable.
Merge pull request #206 from gzm0/js-any-inheritance

Fix #204: Restrict ancestors of classes extending js.Any