Merge pull request #295 from L8D/master

Strip trailing whitespace from all source files and add unix-style newlines at eof
update .npmignore with more stuff