KFSTI-478 update licenses to AGPL for 5.4

KFSTI-481 update license headers

**This should reviewed carefully (as much as reasonable) before merging.**