added cvconfig.hpp header file to gpu tests

it uses HAVE_CUDA, HAVE_NVCUVID, etc. macroses
fixed gpu BGR <-> YUV color conversion
Merge pull request #1294 from jet47:gpu-tests-fix
Merge pull request #1296 from jet47:gpu-cvtcolor-fix-master