Insert repl options at top of file based on user's choices.

Also rely less on global options.
Fixes #1213.

Review URL: https://api.github.com/repos/google/traceur-compiler/issues/1219

Closes #1219, closes #1213.