KFSTI-478 update licenses to AGPL for 5.4

KFSTI-481 update license headers

**This should reviewed carefully (as much as reasonable) before merging.**
Maybe it is just a formatting issue, but this file has many more diffs than the others.