TryGhost/Ghost — pull request #3867 by hswolff (2014-08-23 21:28:10+00:00)
Title: Makes the Ghost application more express middleware friendly. 

refs #827

- Moves ./index to use Ghost in a similar manner to how someone uses
Ghost as an npm module.
- Allows Ghost to be cleanly mounted on another express application
on any arbitrary endpoint, all you need to customize is the mount path.

I built this on top of my #3866 pull request, hence the second commit.

In `./index` you could also easily start ghost by instead of doing:

```
instance.start(server);
```

Swapping it to.

```
server.listen('2368')
```

Voila.