refs 16196 Document the use of optimizeOptions 

While investigating [16196](https://bugs.dojotoolkit.org/ticket/16196), I found that `optimizeOptions` is passed to both uglify and closure when optimizing JS code during a build. This allows us to pass options directly to the compiler from a build profile.