Unitech/PM2 — pull request #897 by BryanDonovan (2014-12-23 01:27:56+00:00)
Title: Adding JSHint

Added JSHint to package.json, added .jshintrc and .jshintignore files. Fixed several JSHint violations. Skipped a few files because there was no way to fix the issues.

Run via:

```
node_modules/.bin/jshint lib
```

Also cleaned up some things like:

```
-
-var Common = require('./Common');
-
-var Utility = require('./Utility.js');
-
-var Event = module.exports = {};
+var Common = require('./Common');
+var Utility = require('./Utility.js');
```