Sqlserver schema prefix #3208

These fixes were required in order to get CakePHP working with an MSSQL database that has two tables with the same name, but different prefixes.