remove ghost.settings and ghost.notifications

covers 90% of #755
- moved ghost.settings to api.settings
- moved ghost.notifications to api.notifications
- split up api/index.js to notifications.js, posts.js, settings.js,
tags.js and users.js
- added instance.globals as temp workaround for blogglobals (Known
issue: blog title and blog description are updated after restart only)
- added webroot to config() to remove `var root = ...`
- changed `e` and `url` helper to async
- updated tests
Gruntfile cleanup

issue #1340

- remove old weekly and nightly builds and associated stuff
- add help task
- add more documentation / comments
Merge pull request #1627 from sebgie/issue#755

remove ghost.settings and ghost.notifications
Merge pull request #1626 from ErisDS/grunt

Gruntfile cleanup
Reverting express-hbs to 0.5.1

- there is some sort of bug with 0.5.2 when combined with recent changes which results in the following error:

/home/travis/build/TryGhost/Ghost/node_modules/express-hbs/lib/hbs.js:128
      if(count < self.partialsDir.length){
                                 ^
TypeError: Cannot read property 'length' of undefined
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