CMake improvements

Better at finding and handling different versions of OpenCV, and now
copies the necessary DLLs/drivers to run the demo.