Fix standalone output

I fixed the output of the "standalone" option to pass the tests (see #7)

I also updated the `standalone` option. Like the component-build() (-s flag), we can define the name of the global variable with the `standalone` value.

Sorry, the `require.tmpl` is less readable but it's simpler to test by comparing the output files. (Assuming that component-build() has correct output files).