added RGBA <-> mRGBA
Made the generated file templates' naming more consistent.

The general convention is <output file name> + ".in".
Merge pull request #1803 from ilya-lavrenov:ocl_cvtColor
Merge pull request #1802 from SpecLad:cmake-templates
generalized ocl::resize for all data types (INTER_NEAREST mode)
ocl: fix cvtColor XYZ: variables on stack
Applied all fixes related to translating C to C++ code
Also fixed some typos and code alignment
Also adapted tutorial CPP samples
Fixed some identation problems
Merge pull request #1808 from alalek:ocl_fix_cvtcolor_xyz
fixing bugs for Intel platform CPU device
fixed Split for device version equals 78712
Merge pull request #1809 from ilya-lavrenov:ocl_resize_nn
Merge pull request #1807 from KonstantinMatskevich:intel_bug
Merge pull request #1722 from StevenPuttemans:feature_1631_second