Wait for menu to open in editor test

issue #1287

- also contains some misc cleanup
Update node-sqlite3 to v2.1.18

v2.1.18 brings in build fixes so that better errors are reported in the case of a fallback to a source compile + other minor build fixes (so functional code changes) - refs #1269
Node v0.10.x is required (and not > v0.10) - refs #1314
Merge pull request #1320 from springmeyer/master

Update node-sqlite3 to v2.1.18
Merge pull request #1319 from springmeyer/patch-1

Node v0.10.x is required (and not > v0.10) - refs #1314
Plugin API Refactor: Filter and Theme Helpers

issue #769

- Refactor doFilter to allow returning a promise from a filter handler
  and to also return a promise itself
- Move the logic out of the registerThemeHelper calls and into their own methods so
  we could test them in isolation.
- Assign the server to the ghost instance so the initPlugins method can
  get access to it.
Read activePlugins from settings & improve error handling

issue #769

- activePlugins were being read from settings in two different ways, this has been simplified
- error handling has been improved so that plugins do not crash Ghost
- used full error messaging capabilities to make it easier to recover from errors
Merge pull request #931 from jgable/pluginApiChanges
Merge pull request #1323 from ErisDS/test-fixes

Wait for menu to open in editor test
improve layout of code to jslint standards in helpers unit tests
Fix notification stacking.

fixes #944
Allow user to set static page before saving

fixes #1350
- jQuery event.preventDefault() stops the user from selecting the checkbox
Fix bug where image-delete icon was on top of floating headers
Improved image cancel button

* Removed duplicate references
* Adjusted hover styles
* Imroved visibility of icon on dark images
Grunt dev no longer opens browser

closes #1355
- dev task no longer calls open
Merge pull request #1358 from zacgeis/open-fix

Grunt dev no longer opens browser
Merge pull request #1336 from cobbspur/cleanhelpers

improve layout of code to jslint standards in helpers unit tests
Update should.js and fix tests.

fixes #1360
Fix async helpers losing proper "this" context

Fixes #1357

- Instead of calling the passed function directly, use .call(this,
  options)
Moving file system storage to a module

issue #635

- refactored file system storage into module
- convert save to return a promise
- convert admin controller to use storage module