Fix jshint-grunt setup #495

Task `jshint` should be defined only once and globals definition
should be under options.

Ref: https://github.com/gruntjs/grunt-contrib-jshint
Signed-off-by: Rohan Jain <crodjer@gmail.com>
Trivial lint fixes #495

These failures arise due to the fixes in jshint-grunt configuration

Signed-off-by: Rohan Jain <crodjer@gmail.com>
Suppress `Possible strict violation` #495

I am not 100% sure, but this seems like the safest way for me to
have jshint pass the build.Trivial lint fixes

These failures arise due to the fixes in jshint-grunt configuration

Signed-off-by: Rohan Jain <crodjer@gmail.com>
Allow overriding of Pouch in tests

Signed-off-by: Rohan Jain <crodjer@gmail.com>
Merge pull request #550 from crodjer/jshint-fixes

JSHint configuration fixes