Allow user to set static page before saving

fixes #1350
- jQuery event.preventDefault() stops the user from selecting the checkbox
Properly format publish date.

fixes #1335
Automatically replace unicode characters with ascii characters for slugs.

fixes #1285
Render a page template if it exists in a theme for a post marked as page.

Closes #1329.
Merge pull request #1338 from halfdan/1335-publish-date-format

Properly format publish date.
Merge pull request #1408 from halfdan/1285-unidecode

Automatically replace unicode characters with ascii characters for slugs...
Merge pull request #1412 from egdelwonk/feature/1329_page_template

Render a page template if it exists in a theme for a post marked as page
Updating Casper to latest inc page template
Move API tests to /integration/

closes #1396
- moved core/test/unit/api* to core/test/integration/api/
- moved core/test/integration/model* to core/test/integration/model/
- moved core/test/unit/utils to core/test/utils
- moved core/test/unit/fixtures to core/test/utils/fixtures/
- changed gruntfile.js to execute api tests with target 'integration'
Merge pull request #1420 from sebgie/issue#1396

Move API tests to /integration/
Add X-Cache-Invalidation Tests

closes #1397
- added checks for x-cache-invalidation to api tests
Merge pull request #1418 from sebgie/issue#1397
Move middleware functions into middleware module and create associated tests
Note: this only moves middleware functions that have associated tests.
Kill iCheck cause Hannah says it has genital warts.
Add Coverage report for Unit and Integration tests

issue #361
- Added shell:coverage task to generate coverage report
- Registered test-coverage Grunt task as shortcut of shell:coverage
- Added coverage files to .gitignore
- Added require-cli and blanket to package.json
document inability to be run on a path below an URL with a hostname - as discussed in https://ghost.org/forum/installation/341-how-do-i-run-ghost-on-a-subdirectory
Fix page errors during builds.

fixes #1434
Merge pull request #1423 from henning/feature/document-subdirectory-inability

document that url currently must not have a path suffix
Merge pull request #1435 from halfdan/1434-page-errors

Fix page errors during builds.
Displays alert if editor is dirty before unload

closes #1327
- Prevents user from accidently losing changes