fixes #1435, fix support for database schemas in gii model generator

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.