Create a script to prepare changelogs

We could create a script to automatically format changelogs.