[IMP] Ignore special databases

Automatically ignore template databases identified in Postgres, and databases where connexion is not allowed.