Fix for failing tests

closes #1609
- added wait for output
- changed order of test tasks
Merge pull request #1612 from sebgie/issue#1609

Fix failing tests
Swap url.resolve for slash handling
Ignore readme files in subdirectories.

This prevents theme and plugin readme files from appearing as new files.
Fix login test failure

no issue
- added timeout after login limit tests
Merge pull request #1624 from sebgie/test_fails

Fix login test failure
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
Merge pull request #1621 from nmec/fix/gitignore

Ignore readme files in subdirectories.
Gruntfile cleanup

issue #1340

- remove old weekly and nightly builds and associated stuff
- add help task
- add more documentation / comments
Upgrade downsize to 0.0.4

refs #1095
- added new unicode test to excerpt helper
Fix error when uploading logo/cover image

closes #1616
- removed pars from model
- changed checkbox handling
Merge pull request #1608 from halfdan/1095-unicode-words

Upgrade downsize to 0.0.4
Merge pull request #1629 from sebgie/issue#1616

Fix error when uploading logo/cover image
Update dependencies.

- Important update for express (contains __proto__ fix in qs)
- Update all other dependencies to latest
Merge pull request #1622 from halfdan/update-deps
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