fixed migrations bug from issue #1829, down migrations now operate only on completed migrations
complies with "use strict;" tests passing
fixed failing test on postgres
Merge branch 'master' of https://github.com/sequelize/sequelize
Comply with use strict (aka semicolins are fun and profitable)
Replace `.map()` with `.each()`
Spacing
[ci skip] Remove the brackets part from contributing.md
Merge pull request #2309 from overlookmotel/hooks-bug-fix

Bug fix for hooks
Fix for intermittent bug in findorcreate with transaction
Code tidy
Remove unnecessary definitions
Universal hooks

Hooks defined on `sequelize` are applied universally on all models

Universal hooks 2

Universal hooks 2

Universal hooks 2

universal hooks 6
Hooks run sync in sync functions
Hooks on Sequelize#define

define hooks 2

define hooks 3

define hooks 4

define hooks 7
Hooks on Sequelize()

hooks9

hooks10
Tests for universal hooks
Tests for Sequelize#define hooks
Tests for Sequelize() hooks
Tests made sync