Finish relicensing to GPLv3

I started this in d6a774ab8e36e43db0971b243ddfe03214d51088, but the headers were missed.
open for new development