Added a test for license checking of code files. Closes #454.
Merge pull request #477 from pelson/license_header_check

Added a test for license checking of code files. Closes #454.
Add an optimisation for single valued coordinate constraints.