Fixes wrong table name being referenced with the schema option. Closes https://github.com/sequelize/sequelize/issues/843
Merge branch 'foreignnamefix' of https://github.com/durango/sequelize into durango-foreignnamefix