Make tools/generate-test-fixture.js take a --module option for `sourceType="module"` mode

https://code.google.com/p/esprima/issues/detail?id=614