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