Disable publish button until deffered is resolved

closes #2040
- save post disables the publish button
- publish button remains disabled until deffered object is resolved
Don't require mail.options to be set
Improve bootstrap flow of a Ghost application

addresses #1789, #1364

- Moves ./core/server/loader -> ./core/bootstrap.
The bootstrap file is only accessed once during startup,
and it’s sole job is to ensure a config.js file exists
(creating one if it doesn’t) and then validates
the contents of the config file.

Since this is directly related to the initializing 
the application is is appropriate to have 
it in the ./core folder, named bootstrap as that
is what it does.

This also improves the dependency graph, as now
the bootstrap file require’s the ./core/server/config
module and is responsible for passing in the validated
config file.

Whereas before we had ./core/server/config
require’ing ./core/server/loader and running its
init code and then passing that value back to itself,
the flow is now more straight forward of
./core/bootstrap handling initialization and then
instatiation of config module

- Merges ./core/server/config/paths into 
./core/server/config
This flow was always confusing me to that some config
options were on the config object, and some were on
the paths object.

This change now incorporates all of the variables
previously defined in config/paths directly
into the config module, and in extension,
the config.js file.

This means that you now have the option of deciding
at startup where the content directory for ghost
should reside.

- broke out loader tests in config_spec to bootstrap_spec

- updated all relevant files to now use config().paths

- moved urlFor and urlForPost function into 
 ./server/config/url.js
Tweaking slug logic in post settings.

Closes #2136.
- sets slug to placeholder text if slug is blank
Merge pull request #1858 from hswolff/improve-bootstrap-flow

Improve bootstrap flow of a Ghost application
Updated downsize to 0.0.5

closes #2106
- downsize 0.0.5 contains the fix to accept single quote found inside a double-quote string or vice-versa
- created unit tests to properly check this scenario
Merge pull request #2117 from aiampogi/Issue_2106
Merge pull request #2137 from jgillich/patch-1

Don't require mail.options to be set
Merge pull request #2097 from zacgeis/publishbutton-fix

Disable publish button until deffered is resolved
Adds ability to pass in configFile path when loading 
 ghost as a npm module

- modifies main script file to allow it to
take in an options object that currently
supports an express instance or a config file path

- added tests
Allow HTML inside tag prefix/suffix

closes #2123
- Return hbs.Safestring
- Manually escape joined tags
- Added test
Merge pull request #2151 from halfdan/2123-tags-suffix

Allow HTML inside tag prefix/suffix
Merge pull request #2147 from gmurphey/master

Tweaking slug logic in post settings.
Merge pull request #1818 from hswolff/config-file-option

Adds ability to pass in configFile path when loading ghost as a npm module
Install App Dependencies

- Spawns an npm install command from the App root
- Has some special OS checks for windows command spawning
Merge pull request #2099 from jgable/appDependencies

Install App Dependencies