TryGhost/Ghost — pull request #3258 by ErisDS (2014-07-13 17:04:40+00:00)
Title: Use bookshelf's model registry plugin

Refs #2170

This removes the circular dependency problem from our models
- add the registry plugin
- switch all models and collections to be registered
- switch relationships to be defined using a string, which calls from the registry