Unit tests added for .find() and .findAll(), with included relation using own where and require: false.
Revert "Unit tests added for .find() and .findAll(), with included relation using own where and require: false."

This reverts commit 672116ff32fcc6eca2f8b17c5af1784abcb588f2.
Unit tests added for .find() and .findAll(), with included relation using own where and require: false.
Change bulkUpdate to return the affected rows
Inserted options to all getTableName calls. This allows overriding getTableName and constructing dynamic tablenames based on specific options.
Updated the getTableName documentation to include the options param
Merge branch 'master' of https://github.com/cmwilhelm/sequelize into cmwilhelm-master
fix(includes): do not use subquery if required is false
fix(query-interface/generator): make sure index queries are properly escapes (closes #1943)
test(includes): provide a test with a nested set of associations where an association somewhere in the middle has a where condition
test(query-generator): fix mysql query generator addIndex tests to check for escaped tables
fix(includes): fixes issue where a main join is not propagated properly to the main query because parents are in subquery (closes #1938)
Merge branch 'test-nested-belongsTo-with-where'
Add option to return affected rows
Merge pull request #1624 from seegno/fix-bulk-operations-result

Change bulkUpdate to return the affected rows
Merge branch 'master' into pass-options-to-getTableName

Conflicts:
	lib/model.js
Fixed merge conflict, added documentation to getTableName params and fixed a typo
sequelize.query not work if there is an empty space in start of query #1960
Merge pull request #1963 from smali-kazmi/fix-issue-1960

Fix of issue # 1960 (closes #1960)
Merge pull request #1952 from quiddle/pass-options-to-getTableName

Pass options to getTableName function