gruntfile: refactor doGrunt from other utility stuff
refactored resourceFiles calls into allResourceFiles
don't include lib/**.js, just lib/*.js
styleTweaks, filteReddit, and RESTips load before other modules

fixes "module loading order issue"