Lint fixes
Upped the maxstatements to help lint pass for now.
Fix failing test. This should be checking that the el is a string not that the el is not null!
Added proper linting for our project to grunt.
Check the url contains a raw param.

This covers the following:

url?raw         === true
url?raw=true    === true
url             === false

This tightens up the intent and fixes lint issues.
Ensure that both npm and grunt run the same lint

Running grunt jshint and npm run lint should give the same result.

It didn't before.

It should now.
Lint the json
Merge pull request #267 from alphagov/feature/lintFixes

Lint all the codebase to sensible defaults