Update JSHint rules
Update unit tests to use Sinon instead of Spooks
Automatically rewritten for npm.