changelog.sh: Add file metadata
changelog.sh: Condense variable assignments
changelog.sh: Add section dividers
changelog.sh: Rewrite function `print_underscored()`

* Revise function documentation
* Move error message to from exit group to start of function
* Adjust braces and indentation
changelog.sh: Comment argument test
Update file metadata: add unique comment string