Fix null cycle bug
Pulses without a refactoring stage had a null cycle. This caused the NPE
Merge branch 'AddingRadarPlot' of github.com:MichaelHilton/JS_TDD_Data_Tool into buildPulse
Merge branch 'AddingRadarPlot' of github.com:MichaelHilton/JS_TDD_Data_Tool into buildPulse
Bug: last pulse pattern is not flushed
Merge pull request #8 from cdmihai/buildPulse

Fixed null cycle bug for the words changed metric