Update to GPLv3+ and add copyright notices where they are missing.