Cuda concurrency

This commit is in response to the bug mentionned in http://code.opencv.org/issues/3824

It fixes concurrency issues with cuda-opencv, especially:

- The initialization of the default stream
- The use of cuda.surf functions