Fix quality flaws
SONAR-5755 fix cursor mode on PostgresSQL
SONAR-5755 Move creation of projects.uuid index after uuid columns have been populated
SONAR-5755 Revert cursor mode when searching for project as it's failing when migrating Dory