Fix some memory leaks in HierarchicalClusteringIndex
When a cluster is empty for KMeans, it's better to give it the point from another cluster j that is the furthest one from center j.
Update system.cpp

Add native C++ support
Fixed typo in comment
Merge pull request #2051 from AlexWillisson:patch-2
Fixed the seporate/seporator typo everywhere.
Merge pull request #2017 from pemmanuelviel:flannMemoryLeak
Dynamic CUDA support library name fixed. Additional error messages added.
CUDA warning fix/supporession for Android.
ts dependency from CUDA runtime removed. All implicit CUDA calls replaced by calls from core module.
Merge pull request #2049 from asmorkalov:android_cuda_warning_fix
Java wrappers for functions from cv::gpu namespace in core module added.
Merge pull request #2052 from SpecLad:seporate
Fake dependency from CUDA in case of satic linkage with OpenCV removed.
eliminating VS2013 build warnings
Merge pull request #2050 from asmorkalov:android_mk_fix2
Merge pull request #2056 from asmorkalov:java_core_cuda_wrappers
Fix python sample path
Merge pull request #2060 from asmorkalov:ocv_ts_cuda
New sample for CUDA on Android added.