Sqlserver schema prefix #3208

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