CMS7-7836 Add license information

Add license headers to source files.
Configured the exclusions for the apache-rat-plugin.
Removed the unneeded commas in the gruntfile.