[3.0] removed a few obsolete modules, apps and samples

Also, removed latentsvm and datamatrix detector from objdetect.

some of the stuff will be moved to opencv_contrib module.
in order to make this PR pass buildbot, please, comment off opencv_legacy, opencv_contrib and opencv_softcascade test runs.