Revert "importing upstream diff http://code.opencv.org/projects/opencv/repository/revisions/e9b9a6fc038fc243e2debcc1dabd0d0745ff39d6/diff/modules/legacy/src/dpstereo.cpp"

This reverts commit 91da0e538bbfd75ee9aed8e82df7a429f2200010.
Revert "Turn off performance tests, tests, and docs for from source people"

This reverts commit 870c516787cc05cc93fcb6e37e68509eb3b43e8d.
Revert "import patch from itseez/opencv#1244"

This reverts commit 3e0aaff1bb48e1ea491df875c2166160f82b24d2.
Revert "do not build the docs by default"

This reverts commit f22a4ef955b245045877a69162fa52a36f19d47c.
Revert "add misc patches from Groovy"

This reverts commit 2b58bc73e8477a1183cf54ec465969170234bf43.
Revert "Added install rule for package.xml"

This reverts commit 808f66f3300ec39efac94fa7a6db0d5d10734691.
Rebase from 'upstream'
Added install rule for package.xml
disable building docs/tests for source people
rename the pkgconfig file