Added the sources of the k nearest neighbors trend detection.

KnnTrend is the main algorithm.
KnnTrendDataGenerator is used to generate samples of trending and not trending series from the data.
EdgeDetector is used to detect jump in the time series.