Fix Editor Save Button not allowing unpublish

Closes #2918
Add ignores for vim, TernJS

- vim-related ignores from https://github.com/github/gitignore/blob/master/Global/vim.gitignore
Bumping to Knex 0.6.12, Bookshelf 0.7.1
Merge pull request #2932 from tgriesser/knex-bookshelf-update

Bumping to Knex 0.6.12, Bookshelf 0.7.1
Merge pull request #2919 from novaugust/editor-button-unpublish-fix

Fix Editor Save Button not allowing unpublish
Merge pull request #2924 from appleYaks/gitignore

Add .gitignores for vim, TernJS
Refactored Editor Routing

- Moved `new` route into `editor` resource (`editor.new`)
- Moved the current editor controller, view, and route to `editor.edit`
- Added `editor.index`, which automatically transitions into `editor.new`
- Moved controllers, views, templates, and routes to match new router config. Also changed links to `editor` into `editor.new` and `editor.edit` as appropriate.
Merge pull request #2933 from novaugust/editor-resource-routing

Refactored Editor Routes
Reach Editor parity with Ember

closes #2426, closes #2781, closes #2913
- Concatenate vendor files on change of js in core/shared/
- Editor subcomponents communicate through editor controller
- Add all the markerManager stuff to its own mixin
- make markers a shared object for all that mix it in. makes it easier to use helper functions in different modules
- add getMarkdown(), returns an object with two keys: one with the markdown string with markers, the other without
- Set CodeMirror, markdownPreview css scroll class with util
- Create `scratch` prop in editor, prevents a save on the model from wiping out image markers due to markdown bindings
- Clear markers when codemirror is destroyed
- Editor controllers' `isDirty` checks `scratch` !== `markdown`, and the model's `isNew` and `isDirty` properties
- Add modal dialog alert when transitioning out of the editor with an unsaved post
- Move editor htmlPreview image upload handler to EditorControllerMixin
- Add editor and markdown-preview actions to handle image upload start/finish
- disable codemirror when an image is being uploaded, re-enable on success or failure
- and various other things