Major Changes - Bug Fixes and Improvments
* Updates in creating dummy
* Improvment in calculating the trend, redesign the whole sequence to be
more abstact, make use of apache.common.math instead of custom functions
* Minnor changes on js and te way charts are built
* some changes to make the intergration with CM api calls easier