Override script in Application.generate()

This fixes https://github.com/ghale/gradle-glu-plugin/issues/4

Make it possible to override script in Application.generate() if necessary,
by providing a "script" option.  If it's not present, then use Application.script