Added type checks to Device::setParam function.

This function may potentially corrupt memory by casting.
Merge remote-tracking branch 'origin/master'

Conflicts:
	Lumiverse/source/Demos/CueLight/CueLightDemo.cpp
	Lumiverse/source/LumiverseCore/Device.cpp
	Lumiverse/source/LumiverseCore/LumiverseCoreConfig.h
	Lumiverse/source/LumiverseCore/Simulation/ArnoldPatch.h