Permalinks live reloading support

issue #1395
Remove direct pg dependency

refs #1333
- Adjust Travis build to install pg
- Remove pg from package.json
Adds login limiter

Closes #499
* On wrong passwords, statuses: `active` -> `warn-1` -> `warn-2` -> `warn-3` -> `locked`
* On login check, if user's status is `locked`, login automatically fails and user is encouraged to reset password. Does not even bother to check for passwords.
* login attempts tell user how many attempts she has remaining in notification box
* successful login will reset status to `active`
* resetting password with forgotten password emailed token resets status to `active`
* complete with a test suite
Merge pull request #1590 from halfdan/1333-pg-travis

Remove direct pg dependency
Direct api access for app proxy

- proxy doesn't need a ghost object :)
Fix excerpt/content helpers

fixes #1591
- Convert quoted strings to numbers
- Update code examples
- Update helper tests
Merge pull request #1586 from jgillich/live-reloading

Permalinks live reloading support
Merge pull request #1589 from javorszky/iss499

Adds login limiter
Merge pull request #1593 from ErisDS/app-proxy-update

Direct api access for app proxy
Merge pull request #1594 from halfdan/1591-excerpt-helper

Fix excerpt/content helpers
Add url.resolve for password reset email url

fixes #1604
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