Gruntfile.js: add error checking & return values to tasks with function()