switched to new device layer in gpucodec module
fixed compilation error "ambiguous symbol" on CUDA 5.0:

disabled Texture Reference API for old CUDA toolkits
fixed gridTransform overloads problems
used new device layer for cv::gpu::add
used new device layer for cv::gpu::subtract
used new device layer for cv::gpu::multiply
used new device layer for cv::gpu::divide
used new device layer for cv::gpu::absdiff
used new device layer in math per element operations
fixed assertion
used new device layer for cv::gpu::compare
fixed warnings
switched to new device layer in bitwize operations
switched to new device layer in min/max
used new device layer for cv::gpu::addWeighted
used new device layer for cv::gpu::threshold
switched to new device layer in polar <-> cart
removed arithm_func_traits.hpp
switched to new device layer in split/merge
used new device layer for cv::gpu::transpose