Fixes for new command line options and codegen.
Merge branch 'master' of github.com:purescript/purescript-promises