CMS7-7832 Add license information

Add license headers to source files
Add a top-level license file
Add a distribution.xml file