New KNN code -should compile now
function code
some fixes
Python typdef fixed. Reverted the example to MOG2. Not time to make the command line switch for now.
Merge pull request #2233 from palindromoroz:BGSubtract_KNN_new_code