Add jslintrc

This pull request moves the JSLint settings to a separate `.jslintrc` file, which the `node-jslint` module can read.

It also attempts to lint the test file. However, there are still some issues outstanding with that. If anyone have ideas on how to fix these issues, I'd love to see them.