Changed Travis CI setup to launch jshint and tests using grunt (for consistency with other modules, esp. using jshint 2.4) + fixed som jshint errors ignored by jshint 2.5.