Confluence & Jira migrated to PostgreSQL and upgraded

After two afternoons of work we have managed to upgrade both Confluence and Jira to current versions.

Along the way we had to move from MariaDB to PostgreSQL, because Atlassian is unwilliing to search+duplicate+change a few lines of code to support MariaDB besides MySQL, see JRASERVER-32347 & CONFSERVER-29060.