GPII-801: Improvements to aid work with GPII automation, suggested by patch from sbates

i) do not output colours if we are not outputing to a tty - ii) apply a hack so that the last process output is not lost on Windows due to a node bug - iii) fix for apparent success if no tests are queued - iv) linting and grunt support to bring up to standard of other Fluid/GPII modules