DB API returns JSON-API compatible objects. Export triggers 'Save As' dialog.

closes #2647
- GET method returns { db: [exportedData] }
- POST, DELETE methods return { db: [] }
- 'delete all content' test updated
- Attach 'Content-Disposition' header on DB export for 'Save As' browser dialog
- Add DB API functional test for Export
Fix unhandled rejected promises when using admin

closes #2707
- adjust call to api.settings.edit now that canThis is in use
Fixed admin navbar icons

Closes #2708
- Edited classNames to use correct names: settings and editor.
Don't xmlrpc ping for the default Welcome to Ghost post

closes #2712
-prevents xmlrpc.ping from being run before Ghost is in a valid
state
-fix a call to Object.hasOwnProperty in permissions.hasActionsMap
Merge pull request #2710 from jaswilli/issue-2707

Fix unhandled rejected promises when using admin
Merge pull request #2711 from shindakun/adminnavbar

Fixed admin navbar icons
Merge pull request #2706 from appleYaks/db-api-update

DB API returns JSON-API compatible objects. Export triggers 'Save As' di...
Cleaning up settings functional tests

ref #1702

- All the tests need cleaning up a bit, but these ones are failing
  regularly and I'd like to get to the bottom of it.
Merge pull request #2713 from jaswilli/startup-issues

Don't xmlrpc ping for the default Welcome to Ghost post
Make DB Import backwards compatible

closes #2716
- Continues to parse and allow import with the old format
- Detects the presence of the new JSON-API format and allows import
Add distinct error classes

closes #2690
- added new error classes
- moved errorhandling.js to /errors/index.js
- changed API errors to use new classes
- updated tests
Merge pull request #2704 from sebgie/issue#2690

Add distinct error classes
Merge pull request #2719 from appleYaks/import-backward-compatible

Make DB Import backwards compatible
Add try-catch to startup

- Should prevent Ghost from exiting without an error message
Adjust test to handle timing issue on upload modal

ref #1702
-change the tests for the cover and logo image upload modal to
 handle a timing issue in the way they are rendered
Merge pull request #2729 from jaswilli/test-errors

Adjust test to handle timing issue on upload modal
Another adjustment to handle timing issue on tests

ref #1702
-timing issue with the test still exists in #2729 since
 .description is added to the dom after the fact via js
Merge pull request #2730 from jaswilli/test-errors

Another adjustment to handle timing issue on tests
Fix intermittent image upload modal failures

ref #1702
-wait for logo upload modal to go away before beginning test
 for cover upload modal
Merge pull request #2733 from jaswilli/test-error

Fix intermittent image upload modal failures