Implicit testdata directory permissions setup added.
(cherry picked from commit b86088b89c43ba1b7db2d8435f222489722e62c9)
Revert "disable gpu Subtract_Array test:"

This reverts commit e91bf95d5832e87aa70240c50f0bf7fcc587e8c8.
(cherry picked from commit da44a2fac1c0be45d2a987c165298a9629757723)
Revert "disable gpu CvtColor.*2HSV tests:"

This reverts commit 952027a8536215a5e4308c79a59308c6b3426354.
(cherry picked from commit b6ba1f226c3da6ba726416f92550410145e89c10)
fix epsilons for several gpu tests
(cherry picked from commit 3e4bb371c8a364315dec18df14674d9164b7523d)
Revert "disable CUDA generalized Hough Transform"

This reverts commit 33d42b740c6fe938b63a0b25c9ad51741aba48c3.
(cherry picked from commit 5d099df57864d083881f026ffe32637afac6ba2e)
Revert "disable gpu Canny and HoughCircles perf tests:"

This reverts commit dbce90692acd84fbf46bde4da4b1726049f42857.
(cherry picked from commit bfc27271e2543bb0807f6dc000f770993a740581)
fixed several bugs in CUDA Canny implementation:

* out of border access in edgesHysteresisLocalKernel
* incorrect usage of atomicAdd(cherry picked from commit 5dbdadb769e97f47b64655b5b3144787c57e2740)