Add standalone CUDA executable support.

Added support for standalone CUDA executables, though this functionality
is currently untested. With this new addition, the code for standalone
vs. cmake_helper module support has gotten rather ugly.