convert to mocha tdd test files
switch to mocha; add istanbul; add DOS endings check
ignore coverage and auto-save files
force js files to lf terminator, allow default for other
export fns for testing; pass HOME as arg to loadConfig
remove obsolete test file; ported to mocha, tests in test/linter.js
add dev deps, explicit files list, use new prepublish target
force LF ending for json files too