Latentsvm caskade

reopen PR #3 

WIP
make all the interface C++. Do not use extern "C". use
<pre>
namespace cv { namespace lsvm {
</pre>