Build: Add .editorconfig for common editor settings
Build: Add .gitattributes to tell git to normalize linefeeds in JS files
Tests: Remove outdated QUnit.reset test

This test isn't relevant anymore and causes odd failures when using
QUnit.log, since the failed assertion is logged, but ignored by the
HTML reporter.

Fixes gh-435
Build: Fix testswarm task, use API correctly
export: Export in all CommonJS environments
tests: Test on multiple JavaScript environments