Add automatic line endings

Clients provide an ‘autoLineEndings’ option that specifies ace mode
languages that have an automatic line ending.

      autoLineEndings:
        javascript: ';'