- add GPL license and headers.

Most of it is GPL v2 or v3 licensed. Some parts only v2 atm, but I will
check with authors for v3 permission