Remove ghost.js

fixes #1575
- Moves most code that was in ghost.js into ./core/server/index.js
- Creates ./core/server/config/theme.js to hold all theme configurations 
(which previously lived on ghost.blogGlobals())
- Removed ghost.server, passing it in as an argument where needed 
and allowing middleware to hold onto a reference for lazy use.
Debounce post settings events

fixes #1582
Updating devDependencies to latest versions
Merge pull request #1635 from ErisDS/update-dev-deps

Updating devDependencies to latest versions
Merge pull request #1630 from hswolff/remove-ghost-singleton

Remove ghost.js
Fix loading of static pages in frontend controller

fixes #1644

- Fixes bug in controller/frontend
- Created functional test for posts API to test for this bug
- Created unit tests for frontend controller
- Fixed a global variable leak in core/test/utils/fixtures/data-generator
that was leaking the DataGenerator globally
- Resolved issue that arose from fixing above bug
Merge pull request #1650 from hswolff/issue-1644

Fix loading of static pages in frontend controller
backbonejs model conflict with connect-slashes

close #1648
- backbonejs model doesn't include tailing slash by default
- connect-slashes returns 301 for GET without tailing slash
- overwrote backbone model url method to include tailing slash
Merge pull request #1632 from hswolff/issue1582

Debounce post settings events
Merge pull request #1648 from KingKarl85/api-slashes

backbonejs model conflict with connect-slashes
Update config.theme() after every settings edit

fixes #1645

- removes server.get('ghost root') as it is only an alias
to config.paths().path, and adds unnecessary indirection
- removes config.theme().path as its just an alias to
config.paths().path, updated all relevant references
- update config.theme.update to only require the api/settings object,
and no longer need the config object
- modify api/settings.edit to call config.theme.update so that
the themeObject is ready for next rendering of template
Change message when unsupported node version is used

no issue
- changed ‚the latest‘ to ‚a supported‘

Reason: the user is asked to update to the **latest** version of
node.js when v0.11.* is installed but v0.10.* is required
Bug fixes for partial views

closes #1203
- Update express-hbs module to the new version (0.5.2)
- Use two instance of hbs one for the theme and an other for the admin
- Template helpers are register as partial view
- Partial views of the theme are reload when the theme changed

Remove clear partial cache in handlebars

This code will be move in `express-hbs`.
This doesn't cause a problem to remove this line but it is not clean.

Remove unused hbs instance

Resolve conflict
Fixed admin 404 page broken image refrence
Merge pull request #1660 from sebgie/version-number

Change message when unsupported node version is used
Merge pull request #1606 from Gotvitch/issue1203

Bug fixes for partial views
Merge pull request #1651 from hswolff/issue-1645

Update config.theme() after every settings edit
Merge pull request #1662 from PaulAdamDavis/master

Fixed admin 404 page broken image refrence