Fixed main problems with framework achitecture.

Classifier is implemented as ABC and provides interface for kNN and kNCN
classes. Implemented preprocess and classify methods for kNN and kNCN
(need to be fixed). Memory leaks need to be fixed. problem with
operator<<.