sequelize/sequelize — pull request #1571 by SohumB (2014-03-29 09:13:36+00:00)
Title: Bugfix/double linked self associations

Should eventually fix #1564.

I've got a test for the problem, and the first part of the solution in this branch - but there's still some problems; something in the way the associations are being set up means sequelize tries to run statements like

```sql
INSERT INTO `Families` (`preexisting_child`) VALUES (2),(3);
```