feat: Add Postgres version to report data
This pull request adds Postgres version information to several report types.
Key changes include:
- Extracts Postgres version retrieval into a helper function for reusability and consistency.
- Modifies the format_report_data function to accept and include Postgres version information in the report output.
- Updates multiple report generation functions to utilize the new helper function and pass the version data to format_report_data.
- Adds a test to assert the presence of
postgres_versionin A007 altered settings report. - Updates A002 version report test for helper function usage.