Call window.onerror is specs
Use atom.onDidThrowError
exception-reporting -> main
Merge pull request #12 from atom/ks-remove-deprecations

Remove use of deprecated APIs