Added App and Test projects. Made Fast_k-NCN a static library.

Moved files between projects.
Cleaned code in learnOptimalK.
Added tests for DistanceCalculation.