Add checks for various CPU options.

Check the cpuopts.h header file for various options and provide an
API to test them from user wscript files.