fix trendForecast and clearPeriods
Added last history tick to graph history(=trend)
habbix crontab doc
Fixed parameters