Move changelog-specific jinja utility functions to changelog view