Fix support for database schemas in gii model generator

Fixes #1435. I've checked and only pgsql and mssql got schemas. Both in getTableNames for non-default schema return list of tables prefixed with schema name.