TryGhost/Ghost — pull request #1238 by jgable (2013-10-22 20:38:21+00:00)
Title: Store the Bookshelf instance on the Bookshelf module

- Assigns the ghostBookshelf instance to the Bookshelf.ghost property

This will help in the long run with being able to retrieve the Bookshelf and Knex instances that are used by Ghost. For example, in plugins it will replace

```javascript
// Old and busted...
knex = require('../../../core/server/models/base').Knex;

// New hotness
knex = require('bookshelf').ghost.Knex;
```