regression test for bug 3172
fix for bug 3172
Can create training set in PNG format

The format of the training set can be changed with the `-pngoutput` key.
Output image will be resized to a 640x480 size if greater.
Typo in string fixed
Class naming update
Documentation improvement
Bug in output format for JPG set fixed
Naming fixes and code beautification
No output image resize in case of PNG dataset
Documentation update: createsamples usage
Revert "fix for bug 3172"

This reverts commit ed2cdb71e5821db85b57cf60d88689c2bf32aeeb.
fix for bug 3172
Include for cvSameImage corrected
Warning on converting int to bool fixed
Merge pull request #3156 from sergregory:CreateSamplesMod
support invokation of cv windows from parallel threads to an external qt application.
make sure children are included in the moveToThread
Python tests added to -tests deb package.
Merge pull request #3197 from asmorkalov:python_tests_package
Merge pull request #3194 from stonier:2.4
fix for issue 3858 (remove unneeded #include's)

also use correct include path on Linux
XIMEA cam support: use correct library for 64 bit Linux