Merge pull request #1749 from iglesias/develop

Shorter abstract in hypothesis testing notebook
apply_* methods return new objects - make that known to swig

likely fixes #7323621
drop inplace new for sparse vector (no longer needed...) and create SGSparseVector directly
Remove unused Python statement in metric learning notebook