Add jshint to make test, fix a few jshint errors, and set dev deps to closest major version.
Move the slugOrId functions to the models for both articles and unions
Merge pull request #35 from webkom/jshint

Add jshint