check if the passed reference is a DaoFactory
reverted prev. change
formatting + load the tableName from the passed DaoFactory if passed to references
describe method on daoFactory
formatting
formattin
spec for using DaoFactory as reference
added specs for string usage + invalid table name usage
Merge pull request #761 from sequelize/features/reference_by_model

Allow reference by DaoFactory in foreign key definition