Fix SyntaxErrorReporter and add unit test

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

Closes #745.