CMS7-7836 Add license information

Add license headers to files that are copied to the dist folder.
Although the dist directory will be removed from source control
I decided to check them in, so that all current files in the
repository have a proper license header.