[altsys] use `XoopsDatabaseFactory::getDatabaseConnection`

replace deprecated method `Database::getInstance` to `XoopsDatabaseFactory::getDatabaseConnection`
Merge branch 'altsys' into CorePack
Merge branch 'CorePack' into pilot