Add $NUM_CPUS detection
Fix clean function -- trim whitespace from a file
Add puppet-syntax-check