Fix issue 14. Add check_system.csh templates. Correct config.csh template. Change build system to create these files and copy them to the correct location.