cleanup and refactor of junitreporter. also fixed grunt bug