Add sources for k nearest neighbors trend detection

EdgeDetector is an utility to detect jumps in a time series
KnnTrend is the algorithm itself.
KnnTrendDataGenerator is the algorithm going through every time series to get trending and not trending samples
Merge branch 'master' of https://github.com/pikaille/PredictionIO