Add trailing spaces check to Grunt build script. Only output tests using TapReporter when running through Testling.