License Compliance Audit

I was doing a check of some of the licenses for code that we're pulling in from other sources and found some examples where we are not giving the full terms of the licenses as it looks like we should based on their original license terms.  Therefore submitting this PR to add in what I think are the correct terms.

Note that the /tests-clar/refs/normalize.c class contains code ported from JGit and if we do that then we should reproduce the original files license terms also. However as the Clar 2.0 stuff is going on I didn't include that change in this PR but can submit another one if the JGit ported code is still being used under the new test framework.