Latentsvm caskade

reopen PR #3 

WIP
add OpenCV license to every source file.